Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Given a person's name, their age, the name of their dog and their dog's age (in human years), display a picture, similar to the following,
Given a person's name, their age, the name of their dog and their dog's age (in human years), display a picture, similar to the following, with the names displayed and the ages of both the person and the dog in "dog years" printed at the bottom of the picture. Sample input (shown in blue) and output from the program is as follows: Please enter your name: Alex Please enter your age in human years: 23 Please enter your dog's name : Terry Please enter your dog's age in human years: 3 Alex Terry 161 dog yrs 21 dog yrs * Consider 1 human year 7 dog years The picture/drawing portion is displayed using only the following characters: 0 /1 0
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started