Professional Documents
Culture Documents
Algorithm
Algorithm
FINDING THE
DIFFERENCE
Step 1. Start
Step 2. Enter 2 numbers
N1, N2
Step 3. Find the Difference
of 2 given numbers.
difference = N1 - N2
Step 4. Display Difference
Step 5. End
ALGORITHM
FINDING THE
PRODUCT
Step 1. Start
Step 2. Enter 2 numbers
N1, N2
Step 3. Find the Product of 2
given numbers.
product = N1 * N2
Step 4. Display Product
Step 5. End
FINDING THE
QUOTIENT
Step 1. Start
Step 2. Enter 2 numbers
N1, N2
Step 3. Find the Quotient of
2 given numbers.
quotient = N1 / N2
Step 4. Display Quotient
Step 5. End
ALGORITHM
FINDING THE AVERAGE
FINDING THE
DIFFERENCE
Start
Enter 2 numbers
N1, N2
Find the Difference of 2 given
numbers
difference = N1 - N2
Display Difference
End
PSEUDCODE
FINDING THE
PRODUCT
Start
Enter 2 numbers
N1, N2
Find the Product of 2 given
numbers
product = N1 * N2
Display Product
End
FINDING THE
QUOTIENT
Start
Enter 2 numbers
N1, N2
Find the Quotient of 2 given
numbers
quotient = N1 / N2
Display Quotient
End
PSEUDCODE
FINDING THE
PRODUCT
Start
Enter 2 numbers
N1, N2
Find the Product of 2 given
numbers
product = N1 * N2
Display Product
End
PSEUDCODE
FINDING THE AVERAGE
Start
Display Ave
Declare Variables
Ave = 75, is it failed or passed?
Average as Ave
Do you want to continue? Yes or
English as Eng
No? if yes then go back to step 2
Filipino as Fil
if no then continue.
Math as Math
Science as Sci
Stop
Aral. Pan as AP
TLE as TLE
MAPEH as MAPEH
Values as Values
Enter Score
Eng, Fil, Math, Sci, AP,
TLE,MAPEH, VALUES
Read Score
Eng, Fil, Math, Sci, AP,
TLE,MAPEH, VALUES