EXERCISE No. 1 A student took four quizzes in a term and would like to compute their average. He also would like to know if the average has a passing mark. Note that the passing mark is 75%. REQUIREMENTS: 1. Write the corresponding algorithm a. Narrative b. Pseudocode 2. Create the equivalent flowchart based on the algorithm of the given problem 3. Construct the program and record your screen display result QUESTIONS: 1. What statement in the program determines that the average is passing? ______________________________________________________________________________ 2. What was the condition applied to satisfy the requirement? ______________________________________________________________________________ 3. What have you observed in using the if-else statement in this program? ______________________________________________________________________________ ______________________________________________________________________________ ______________________________________________________________________________
EXERCISE No. 1
A student took four quizzes in a term and would like to compute their average. He also would like to know if
the average has a passing mark. Note that the passing mark is 75%.
REQUIREMENTS:
1. Write the corresponding
a. Narrative
b. Pseudocode
2. Create the equivalent flowchart based on the algorithm of the given problem
3. Construct the
QUESTIONS:
1. What statement in the program determines that the average is passing?
______________________________________________________________________________
2. What was the condition applied to satisfy the requirement?
______________________________________________________________________________
3. What have you observed in using the if-else statement in this program?
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
EXERCISE No. 2
Mary Jane would like to invest her money amounting 100,000 at the bank. Before investing her money, she
would like to determine which type of account that she will chose. The amount of interest that her money
earns depends on which type of account the money is in. The bank has 6 different types of accounts and
they earn interest as follows:
Account Type | Interest earned |
Personal financial | 1.5% |
Personal homeowner | 2.0% |
Personal gold | 2.5% |
Small business | 3.0% |
Big business | 3.5% |
Gold business | 4.0% |
Mary Jane as a programmer would like to make a program that computes automatically the interest earned
of her money in each type of account.
Step by step
Solved in 4 steps with 2 images