Question: Today you will write code to create a Dog Food Calculator that does the following: Ask the User for the target weight of their dog.
Today you will write code to create a Dog Food Calculator that does the following:
Ask the User for the target weight of their dog.
Tell the User their dog must eat X calories to meet the target Assume a dog must consume calories per pound of weight
Then create Wet food option that:
Has a set # of calories per pound of food Less than Dry
Has a cost per pound More than Dry
Then create Dry food option that:
Has a set # of calories per pound of food
Has a cost per pound
The User must be presented all information about each product, then:
The User may select ANY combination of Wet andor Dry food.
Food breakdown by wet weight, dry weight, and total weight.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
