Mathematics, 24.01.2021 21:20 norahfrost
Please help
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 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
This is in java..
Answers: 2
Mathematics, 21.06.2019 14:20
Triangle abc is reflected over the line y=x triangle abc has points (-6,-,-1) and (-5,-6) what is the c coordinate
Answers: 1
Mathematics, 21.06.2019 15:00
Abag contains 3 red marbles 4 white marbles and 5 blue marbles if one marble is drawn from the bag what is the probability that the marble will be blue
Answers: 1
Mathematics, 22.06.2019 04:20
Out of the 180 students at a summer camp, 72 signed up for canoeing. there were 23 students who signed up for trekking, and 13 of those students also signed up for canoeing. use a two-way table to organize the information and answer the following question: approximately what percentage of students signed up for neither canoeing nor trekking? 72% 40% 54% 98%
Answers: 1
Please help
Generally speaking, on average it takes you 3500 calories each day to maintain your wei...
Biology, 31.10.2019 13:31
English, 31.10.2019 13:31
English, 31.10.2019 13:31
English, 31.10.2019 13:31
Mathematics, 31.10.2019 13:31
Social Studies, 31.10.2019 13:31
Physics, 31.10.2019 13:31
English, 31.10.2019 13:31
Mathematics, 31.10.2019 13:31