Question: Write code in which you ask the user for their dog's weight, in pounds, and their dog's age in years. Then using the conversion table

Write code in which you ask the user for their dog's weight, in pounds, and their dog's age in years. Then using the conversion table from WebMD Pets seen below, convert their dog's age into human years.
How Old Is My Dog in Human Years?
Size of Dog
Small
Miniature
Pinschar
20 lbs. or less
Medium
Age of Dog:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Age of humans(
smaller, 20 lbs or less:
15
24
28
32
36
40
44
48
52
56
60
64
68
72
76
80
Medium 21-50: Age in Human Years
15
24
28
32
36
42
47
51
56
60
65
69
74
78
83
87
Large More than 50 lbs :
15
24
28
32
36
45
50
55
61
66
72
77
82
88
93
120)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!