Graduate Essay Writers
Only the most qualified writers are selected to be a part of our research and editorial team, with each possessing specialized knowledge in specific subjects and a background in academic writing.
To hire a writer, fill the order form with details from your nursing assessment task brief—assignment instructions.
Posted: March 2nd, 2022
Assignment #three – Grocery Shopping v2:
On this task you’re going to modify “Assignment #2 – Grocery Shopping” program. The brand new model of this system will carry out the identical activity with the identical gadgets and costs because the older model. (I’ve observed that delivery charges doesn’t make sense enterprise smart because you pay extra delivery whenever you buy extra. Although, I’ll maintain it as it’s.)
Comply with the Steps Under
1. It’s essential to have executed Assignment #2. I’ll attempt to full grading and giving suggestions as quickly as potential, so you may examine and repair what you might be lacking for the task. You’ll be able to nonetheless ask your questions earlier than my suggestions.
2. Save the mission as A3_Grocery_v2_yourname.
three. Use features to divide your program into manageable items. Outline three features: displayMenu, tipCalculator, and shippingCalculator.
a. Write perform prototypes on the prime and outline the features after the primary perform.
four. displayMenu perform:
a. Transfer the code that shows the menu in this system into the perform.
b. At any time when that you must show the menu, name the perform.
5. tipCalculator perform:
a. Transfer the code that asks customers in the event that they need to add a tip and calculate the subtotal accordingly, into the perform.
b. Name the perform in an acceptable place in the primary menu. Cross the worth of subtotal to the perform when calling. Return the worth of recent subtotal from the perform.
c. Write acceptable return sort and parameter record for the perform.
Elective: Chances are you’ll ask the person how a lot cash they want to tip.
6. shippingCalculator perform:
a. Transfer the code that calculates the full together with a delivery fee primarily based on the subtotal, into the perform.
b. Name the perform in an acceptable place in the primary menu. Cross the worth of subtotal to the perform when calling. Return the worth of delivery added whole from the perform.
c. Write acceptable return sort and parameter record for the perform.
7. Outline constants as international constants.
eight. Maintain variable definitions native.
9. Initially of this system show the menu, then ask the person in the event that they need to give an order.
10. If the reply isn’t any, exit this system with the exit() perform.
11. Use whereas loop when the reply is sure with the intention to ask person in the event that they need to give one other order. Then, you may undergo the method once more and obtain a brand new order. The subtotal might be accumulator of the whereas loop that retains including the price of the brand new orders.
This system ought to let person to offer one other order till they enter “no”.
12. Use do-while loop to examine if the person’s merchandise alternative is legitimate. Show menu and ask person to make a sound alternative till their alternative is legitimate. If their alternative is invalid, show a warning message. As soon as the selection is legitimate, you may terminate the loop and proceed with the swap assertion. (do-while loop might be used contained in the whereas loop.)
13. Use the next output display screen photos as a information.
14. Use remark traces to explain block of code statements in this system.
It’s essential to submit each recordsdata (zipped mission folder and .cpp extension) of this system.
Rubric
• Full and dealing program with appropriate calculations and no errors. (5 factors)
• Code readability with indentations, areas when crucial (four factors)
• Remark traces for description (four factors)
• Native variable definitions within the acceptable perform. (5 factors)
• International constants definition (5 factors)
• Perform prototypes (9 factors)
• Correct perform calls (9 factors)
• Capabilities header and physique (27 factors)
• Whereas loop. (10 factors)
• Do-while loop. (10 factors)
• If statements to offer person a message when the loop situations are false. (5 factors)
• Consumer interplay with displaying correct messages. (three factors)
• Exit perform (four factors)
Every Student Wants Quality and That’s What We Deliver
Only the most qualified writers are selected to be a part of our research and editorial team, with each possessing specialized knowledge in specific subjects and a background in academic writing.
Our prices strike the perfect balance between affordability and quality. We offer student-friendly rates that are competitive within the industry, without compromising on our high writing service standards.
No AI/chatgpt use. We write all our papers from scratch thus 0% similarity index. We scan every final draft before submitting it to a customer.
When you decide to place an order with Nursing Study Bay, here is what happens:
Find an expert by filling an order form for your nursing paper. We write AI-plagiarism free essays and case study analysis. Anytime!