Homework Programming Logic and Design Chapter 1 Part 1.docx

# Homework Programming Logic and Design Chapter 1 Part 1.docx

• Homework Help
• 4

This preview shows pages 1–2. Sign up to view the full content.

Homework Programming Logic and Design Chapter 1 Part 1 For each of the following questions, find the inputs and outputs, write the pseudocode, and desk check the pseudocode. 1. A store sells cups and plates for parties. The owners want a program that allows them to enter the price of a cup, the price of a plate, the number of cups purchased, the number of plates purchased, and the sales tax rate. The program should calculate and display the total cost of the purchase. Inputs Process Outputs Price of cup #of Cup x price of cups Total Cost of Purchase Price of plate # of Plates x price of plates Number of cups Sales Tax rate Number of plates Sales tax rate Pseudo Code: 1. Enter price of cups 2. Enter price of plates 3. Enter number of cups 4. Enter number of plates 5. Enter sales tax 6. Calculate cost of cups by multiplying number of cups by price of cups 7. Calculate cost of plates by multiplying number of plates by price of plates 8. Calculate pre-tax cost by adding cost of cups and cost of plates 9.

This preview has intentionally blurred sections. Sign up to view the full version.

This is the end of the preview. Sign up to access the rest of the document.
• Fall '16
• Caroline Budwell
• Programming Logic And Design, sales Tax rate, Desk Check

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern