Homework # 2 ~ Calories Consumed & Burned Trying to Get Some Exercise You have decided that you need to start…

custom essay writing service
Question
Submitted by kenhad on Thu, 2016-10-20 22:45
due date not specified
not answered
Hand shake with LooK_UP: In progress
Hand shake with hurryson: In progress
Homework # 2 ~ Calories Consumed & Burned Trying to Get Some Exercise You have decided that you need to start…
Homework # 2 ~ Calories Consumed & Burned
Trying to Get Some Exercise
You have decided that you need to start eating better and getting some exercise. Since you like riding your bike when the weather is nice and you have access to stationary bike when the weather is not good, you decide to start cycling every day. Also you want to keep better track of the calories you have consumed throughout the day. At the end of the week you want to know the following:
What is the total calories consumed and burned for each day? Assume that for every minute you are cycling you burn 10 calories.
What is the deficit or difference between the number of calories you consume and burn?
What is the average calories that you burn and consume?
What day did you consume the highest amount of calories? What day did you burn the highest calories?
What day did you consume the least amount of calories? What day did you burn the least calories?
Every day you plan on logging in a notebook the total number of calories you consume
(approximately) and how many minutes you spend on either or both bikes. At the end of the week you plan on loading all of these numbers into a program so that you can analyze the data.
Program Requirements
Your program will need to do the following:
Feature a menu so that all you need to do is enter a letter and the program will perform the necessary task. Use the following letters to correspond to what the program needs to do:
Menu Option
Operation
T
Get Total Calories Consumed and Burned. This will also print out calories consumed and burned per day
D
Get the deficit or difference between the total calories consumed and burned
A
Get the averages
H
Get the highest calories consumed and burned and the corresponding days in which this happened
L
Get the lowest calories consumed and burned and the corresponding days in which this happened
E
Exit or exits the program
Allows the user to pick numerous tasks before they are done with the program. HINT: you will need a loop here.
Load both Cycling and Eating data into 2 arrays when the program loads. In other words, you will not get prompted to load these values separately. Instead you will initialize your arrays with these numbers at the beginning of the program. Use either one or two procedures to load your arrays.
Points will be deducted if you do not use a procedure to load your arrays.
Nice clean output.
Utilization of modular programming. At the minimum you should have 5 modules.
Some Help with the Logic
This program will need to use numerous modules. After you code each module, run it to test it and debug it, if necessary. Do not move on to your next module until you have successfully tested the module you are currently working on.
It is all in the Planning
Open up Notepad or Notepad++ and start to figure out what this program needs to do. List the inputs, the outputs, the variables, the 30,000 foot view and your pseudocode. Time to Test the Logic
Now that you have planned out your attack, test your logic using the following test data in Raptor. You’re all put does not need to me remind but as long as it is legible and readable I am OK with it.
Cycling
Eating
15
2,600
10
2,400
20
3,500
18
3,200
25
2,700
10
3,300
5
3,000
Here is what my Menu looked like:
Here is my output when I selected T in Raptor:
Here is my output when I select D in Raptor
Here is my output when I select A in Raptor
Here is my output when I select H in Raptor
Here is my output when I select L in Raptor
How I Will Be Graded
Exemplary
Competent
Developing
13
Completion of Planning Document
10
Planning Document is missing a minor element
7.8
Planning Document is missing a major element
2
Variables declared with appropriate data types and appropriate names
1.6
More than one variable declaration missing or improperly declared
1.2
More than three variables missing. 0 points will be given if there are no declarations.
3
Utilized a procedure to fill both arrays.
2.4
Utilized a procedure with a minor error.
1.8
Utilize a procedure with a major in error or did not use a procedure at all.
3
Displayed menu
2.4
Minor error with the display of the menu
1.8
Major error with the display of the menu
7
Get Totals module prints out the total calories burned and consumed. Also prints out the calories burned and consumed for each day.
5.6
Minor error with the print out of each days calories burned and consumed or minor error in the calculation of total calories burned or consumed
4.2
Major error with the print out of each days calories burned and consumed Or did not use a procedure.
7
Get Deficit module displays the difference between calories consumed and burned for each day.
5.6
Minor error in the calculation or in the display of the difference.
4.2
Major error in the calculation or in the display of the difference Or did not use a procedure.
5
Get Average module calculates and displays the average calories burned and consumed.
4
Minor error in either average calculation.
3
Major error in either calculation Or did not use a procedure.
6
Get Highest module determines the highest amount of calories burned and consumed. Also determines the corresponding day those values occurred.
4.8
Minor error in determining the highest values and/or day. Amounts or day still are outputted to the user.
3.6
Major error in determining the highest values and or day. One or either are missing from the output
Or did not use a procedure.
6
Get Lowest module determines the lowest amount of calories burned and consumed. Also determines the corresponding day those values occurred.
4.8
Minor error in determining the lowest values and/or day. Amounts or day still are outputted to the user.
3.6
Major error in determining the lowest values and or day. One or either are missing from the output
Or did not use a procedure.
3
Output looks professional and includes the use of the tab character and the format function.
2.4
Missing one of the required elements.
1.8
Missing more than one of the requirement elements.
55
TOTAL POINTS
44
33.0
Handing it all in
1) Log on to our Angel course shell. Navigate to the Homework #2 Drop Box. Upload your planning text file and your Raptor file. Before you upload your files make sure you click on the rubric to make sure you have everything done.
Computer Science homework help
This is property of essay help USA. We provide the best online research help to individuals needing our assistance. Log in for Research paper writing help

Calculate the price
Make an order in advance and get the best price
Pages (550 words)
$0.00
*Price with a welcome 15% discount applied.
Pro tip: If you want to save more money and pay the lowest price, you need to set a more extended deadline.
We know how difficult it is to be a student these days. That's why our prices are one of the most affordable on the market, and there are no hidden fees.

Instead, we offer bonuses, discounts, and free services to make your experience outstanding.
How it works
Receive a 100% original paper that will pass Turnitin from a top essay writing service
step 1
Upload your instructions
Fill out the order form and provide paper details. You can even attach screenshots or add additional instructions later. If something is not clear or missing, the writer will contact you for clarification.
Pro service tips
How to get the most out of your experience with Essay Help USA
One writer throughout the entire course
If you like the writer, you can hire them again. Just copy & paste their ID on the order form ("Preferred Writer's ID" field). This way, your vocabulary will be uniform, and the writer will be aware of your needs.
The same paper from different writers
You can order essay or any other work from two different writers to choose the best one or give another version to a friend. This can be done through the add-on "Same paper from another writer."
Copy of sources used by the writer
Our college essay writers work with ScienceDirect and other databases. They can send you articles or materials used in PDF or through screenshots. Just tick the "Copy of sources" field on the order form.
Testimonials
See why 20k+ students have chosen us as their sole writing assistance provider
Check out the latest reviews and opinions submitted by real customers worldwide and make an informed decision.
Nutrition
It was great doing business with you today.
Customer 453001, May 23rd, 2018
Nursing
Best writr
Customer 453063, December 12th, 2021
Psychology
The order is loaded at the website. Best assignment help service.
Customer 453151, January 26th, 2022
Nursing
Thank you for the work.
Customer 453063, May 27th, 2021
Education
thank you. i received it.
Customer 453250, May 21st, 2020
Education
Here the writer did like expected.
Customer 453250, May 29th, 2020
Management
I just love the efforts, professionalism, and top-notch customer service.
Customer 453150, March 13th, 2018
Paintings
The writer is wonderful.
Customer 453154, December 11th, 2017
History
Writer did an amazing job!
Customer 453148, January 28th, 2019
Literature
EAch factor listed meets requirement against specified question.
Customer 453055, February 2nd, 2022
Linguistics
good job
Customer 453250, August 31st, 2018
Dance
good work
Customer 452989, December 14th, 2017
11,595
Customer reviews in total
96%
Current satisfaction rate
3 pages
Average paper length
37%
Customers referred by a friend
OUR GIFT TO YOU
15% OFF your first order
Use a coupon FIRST15 and enjoy expert help with any task at the most affordable price.
Claim my 15% OFF Order in Chat
Show more