You are on page 1of 2

CC102 : Computer Programming 1

Laboratory Activity 2

Date: _________________

Class Schedule: ________________________


Name: ________________________________ Student No.: ___________________ Score:
Name: ________________________________ Student No.: ___________________
GENERAL INSTRUCTIONS: Read, understand and give the needed requirements. Submit your output in
our portal. Filename: Surname1_Surname2_LabAct2.pdf

Machine Problem 1:

The C++-Side Restaurant wants you to write a program that simulates a simple cash register. The program should ask
the user to enter the price of the meal. The program should calculate the sales tax (8.25% of the meal price) and add
it to the price to obtain the total price, which it should display for the user. The program is then to ask for the amount
tendered, that is, the amount the customer gives to pay the bill. After the user enters the amount tendered, the program
should display the amount tendered, the total price of the meal, and the change.

Machine Problem 2:

Your instructor wants you to write a program that averages the three quiz grades you have taken this semester. Write
a program that prompts the user for three integer quiz grades, calculates the average of the three grades, and displays
the average.

Requirements for the 2 Machine Problems:


I. Make an IPO and Flowchart
II. Give the program/source code. (Textfile)
III. Give the screenshot/output
IV. Short Reflection on the programming activity

SCORING RUBRIC
(Encircle the score that reflects the actual accomplishment)

Requirement/Task Machine Problem 1 Machine Problem2 Comment


5 – Perfect 5 – Perfect
Correctness of IPO 3 – Passing 3 – Passing
1 – For the effort 1 – For the effort
5 – Perfect 5 – Perfect
Correctness of Flowchart 3 – Passing 3 – Passing
1 – For the effort 1 – For the effort
5 – Correct 5 – Correct
Correctness of Program
2 – Incorrect 2 – Incorrect
Adherence to the 5 – Complete 5 – Complete
requirements/instructions 2 – Incomplete 2 – Incomplete
REFLECTION
How did you work on this Activity? Narrate here.

You might also like