Computers and Technology, 20.11.2021 14:20 raerea2005
Generally speaking, on average it takes you 3500 calories each day to maintain your weight, while 3500 extra calories generally equals 1 pound of weight gain (So, 7000 calories in one day would mean that you gained 1 pound that day).
Prompt for 7 days of calories consumed by day, starting with Sunday and going through Saturday and put the calories into an array. Print the array along with a nicely formatted header (printf is a requirement for this part of the program).
Write a method to calculate the total amount of calories consumed for the week and print the information in a nice readable format.
Write a method to calculate the average number of calories consumed in the week to the nearest tenth and print the information in a nice format.
Write a method to find if you gained or lost weight this week. Subtract your ideal calories to maintain your weight (7 * 3500) from the calories you consumed for the week. Did you gain or lose weight this week and by how many pounds to the nearest tenth of a pound? Print the information in a nice format.
Use the following test input to ensure your program is running properly:
Sunday - 4700 calories
Monday - 2500 calories
Tuesday - 2000 calories
Wednesday - 1800 calories
Thursday - 3000 calories
Friday - 1500 calories
Saturday - 3500 calories
Answers: 1
Computers and Technology, 23.06.2019 12:00
Which of these is an example of an integrated presentation? a. a table created in powerpoint b. an image pasted into powerpoint c. a caption created in powerpoint d. an excel chart pasted into powerpoint
Answers: 1
Computers and Technology, 24.06.2019 00:40
To maintain clarity and focus lighting might be needed
Answers: 2
Computers and Technology, 24.06.2019 12:30
Do you think media is stereotype ? and why?
Answers: 1
Computers and Technology, 24.06.2019 13:30
Does anybody know how to hack into a google account? i had important information on it and it is gone now and i need getting it back.
Answers: 1
Generally speaking, on average it takes you 3500 calories each day to maintain your weight, while 35...
Biology, 31.05.2021 15:30
Mathematics, 31.05.2021 15:30
Mathematics, 31.05.2021 15:30
Mathematics, 31.05.2021 15:30
History, 31.05.2021 15:30
Mathematics, 31.05.2021 15:30
Social Studies, 31.05.2021 15:30
Chemistry, 31.05.2021 15:30