
Malcolm C. answered 02/08/23
PhD in engineering with post-doc studies in computer science
After reading in the dog's age in years, convert it to an int before doing the multiplication, as in the following:
Bryce H.
asked 02/07/23Write a function that asks for the age of the user’s dog. Print a string that states the dog’s age in dog years with a conversion rate of 1 human year to 7 dog years.
Malcolm C. answered 02/08/23
PhD in engineering with post-doc studies in computer science
After reading in the dog's age in years, convert it to an int before doing the multiplication, as in the following:
Get a free answer to a quick problem.
Most questions answered within 4 hours.
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.