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, 21.06.2019 23:10
Write a method that accepts a string object as an argument and returns the number of words it contains. for instance, if the argument is "four score and seven years ago", the method should return the number 6. demonstrate the method in a program that asks the user to input a string and then passes that string into the method, printing out whatever the method returns.
Answers: 3
Computers and Technology, 23.06.2019 22:30
Jamie has to enter the names, employee id’s, and income of a group of employees into a worksheet. which option will jamie use to describe the data
Answers: 3
Computers and Technology, 24.06.2019 03:30
Explain the importance of html in web page designing in 20 sentences..
Answers: 1
Computers and Technology, 24.06.2019 09:30
Retype the statements, correcting the syntax errors. system.out.println("num: " + songnum); system.out.println(int songnum); system.out.println(songnum " songs"); note: these activities may test code with different test values. this activity will perform two tests: the first with songnum = 5, the second with songnum = 9. see how to use zybooks.
Answers: 1
Generally speaking, on average it takes you 3500 calories each day to maintain your weight, while 35...
Mathematics, 21.10.2021 14:00
English, 21.10.2021 14:00
Health, 21.10.2021 14:00
Mathematics, 21.10.2021 14:00
World Languages, 21.10.2021 14:00
English, 21.10.2021 14:00
English, 21.10.2021 14:00
Mathematics, 21.10.2021 14:00
History, 21.10.2021 14:00
Physics, 21.10.2021 14:00
Chemistry, 21.10.2021 14:00
Mathematics, 21.10.2021 14:00