Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Climate And Environmental Database Systems

Authors: Michael Lautenschlager ,Manfred Reinke

1st Edition

1461368332, 978-1461368335

Students also viewed these Databases questions

Question

=+1. How does or how might the key public affect your organization?

Answered: 1 week ago