subject

88 points 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

ansver
Answers: 3

Another question on Advanced Placement (AP)

question
Advanced Placement (AP), 22.06.2019 03:00
Your room is still fairly dark when you wake up early one morning. you look over at your shirt hanging on a hook. you know it's your red shirt because you hung it up there before you went to bed, but in the dark you can't see its color. it looks dark gray to you. why is that?
Answers: 1
question
Advanced Placement (AP), 22.06.2019 04:30
(psychology) i basically have to make a mnemonic device for a vocab term from the lesson, the word i chose was anterograde amnesia ( loss of memory from the point of injury or trauma forward, or the inability to form new long-term memories.) i'm not that creative and my brain feels dead so plzzz if you could i'd be sooo !
Answers: 1
question
Advanced Placement (AP), 22.06.2019 07:30
Southern tick-associated rash illness (stari) is a disease often carried by deer ticks in the southern united states. which sentence best explains how climate change could increase the number of stari cases? a. infectious diseases may become more widespread as ticks increase their range. b. ticks may weaken the animals they feed on, causing more deaths in the population. c. people who work in agriculture may have to relocate to find new employment. d. rising seas and flooding may result in the displacement of millions of people.
Answers: 1
question
Advanced Placement (AP), 23.06.2019 01:30
Need fast will mark brainliest ^^)based on the work you have completed in this lesson, you are going to create a transcript for a persuasive presentation to convince your client that your design improvement is the best possible solution for their needs. take your client through the different design options you considered for the product design improvement. explain why you discarded the designs that were not the best possible solution. finally, explain why your final product design covers each of the requirements and specifications you used to create your needs statement. your speech must include visual aids that include at least two schematics, or detailed illustrations, of your design. each schematic might show a different angle of your design. or the schematics might show different parts and pieces of the design. if you are unfamiliar with product schematics, find examples by doing an internet search for product schematicsno schematic neededcreate a transcript for a persuasive speech that includes schematics for your design.(just convince people to buy something anything you can think of use your own imagination)
Answers: 1
You know the right answer?
88 points Generally speaking, on average it takes you 3500 calories each day to maintain your weight...
Questions
question
Mathematics, 18.02.2021 23:40
question
History, 18.02.2021 23:40
question
Mathematics, 18.02.2021 23:40
question
Business, 18.02.2021 23:40
Questions on the website: 13722367