subject

For the lab this week, you will sort an array - using any of the sort methods discussed in Chapter 23 or the Selection sort. It's your choice. Use the following criteria for your assignment: Write a program that uses a two-dimensional array to store daily minutes walked and carb intake for a week. Prompt the user for 7 days of minutes walked and carb intake; store in the array. Write a sort ( your choice which sort ) to report out the sorted minute values -lowest to highest. Write another to report out the sorted carb intake - highest to lowest. These methods MUST be your original code. Your program should output all the values in the array and then output the 2 sorted outputs. You must use an array to receive credit for this assignment.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 25.06.2019 05:30
Two technicians are discussing a resistance measurement. technician a states that components being measured should be removed or isolated from the circuit. technician b states that power to the circuit should be disconnected when measuring resistance. which technician is correct?
Answers: 1
question
Computers and Technology, 25.06.2019 08:50
Write multiple if statements: if caryear is before 1968, print "probably has few safety features." (without quotes). if after 1971, print "probably has seat belts.". if after 1991, print "probably has anti-lock brakes.". if after 2002, print "probably has airbags.". end each phrase with period and newline. ex: caryear = 1995 prints:
Answers: 2
question
Computers and Technology, 25.06.2019 13:30
Landslides often accompany earthquakes and volcanoes and pose an additional threat to humans after these events. true false
Answers: 1
question
Computers and Technology, 26.06.2019 00:00
What might be the explanation for the following scenario? a user reports that it took a longer than usual amount of time to access a document. upon further investigation, the user tells you that the document he or she was attempting to access is from a budget report written two years ago.
Answers: 1
You know the right answer?
For the lab this week, you will sort an array - using any of the sort methods discussed in Chapter 2...
Questions
question
Social Studies, 06.05.2021 03:30
question
Mathematics, 06.05.2021 03:30
Questions on the website: 13722361