CIS115_W2_iLab

# CIS115_W2_iLab - Name Courtney Proctor Week 2 iLab TCO 2...

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

Name: Courtney Proctor Week 2 iLab TCO 2 — Given a simple problem, design a solution algorithm that uses arithmetic expressions and built-in functions. Scenario Your goal is to solve the following simple programming exercise. You have been contracted by a local antique store to design an algorithm determining the total purchases and sales tax. According to the store owner, the user will need to see the subtotal, the sales tax amount, and the total purchase amount. A customer is purchasing four items from the antique store. Design an algorithm where the user will enter the price of each of the four items. The algorithm will determine the subtotal, the sales tax, and the total purchase amount. Assume the sales tax is 7%. Be sure to think about the logic and design first ( input-process-output (IPO) chart, flowchart, and pseudocode). Display all output using currency formatting. Advanced (optional): Use a constant for the 7% sales tax.

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

View Full Document
Rubric Point distribution for this activity: iLab Activity Document
This is the end of the preview. Sign up to access the rest of the document.

{[ 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