0% found this document useful (0 votes)
23 views5 pages

Ict pf2

The algorithm first prompts the user to enter two numbers, n1 and n2, then it reads the entered numbers. It then performs a mathematical operation on the numbers like addition, subtraction, multiplication or division. Finally, it displays the result of the mathematical operation performed on the entered numbers.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views5 pages

Ict pf2

The algorithm first prompts the user to enter two numbers, n1 and n2, then it reads the entered numbers. It then performs a mathematical operation on the numbers like addition, subtraction, multiplication or division. Finally, it displays the result of the mathematical operation performed on the entered numbers.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

START

ENTER NUMBERS
n1 and n2

READ NUMBERS
n1 and n2

Sum = n1 + n2

Display Sum

END
ALGORITHM PSEUDOCODE
Step 1:Start
Step 2: Input the numbers n1 and 2 Start
Step 3: Read the given numbers n1 and n2 Input n1 and n2
Step 4: Find the sum of the number 1 and number 2 Read n1 and n2
Step 5: Display the sum Sum = n1 + n2
Step 6: End Output Sum
End
START

ENTER NUMBERS
n1 and n2

READ NUMBERS
n1 and n2

Quotient = n1/n2

Display Quotient

END
ALGORITHM PSEUDOCODE

Step 1:Start
Step 2: Input the numbers n1 and 2 Start

Step 3: Read the given numbers n1 and n2 Input n1 and n2

Step 4: Find the Quotient of the number 1 and number 2 Read n1 and n2

Step 5: Display the quotient Quotient = n1/ n2

Step 6: End Output Quotient


End
START

ENTER NUMBERS
n1 and n2

READ NUMBERS
n1 and n2

Product = n1 x n2

Display Product

END
ALGORITHM Start
Step 1:Start
Step 2: Input the numbers n1 and 2 Input n1 and n2
Step 3: Read the given numbers n1 and n2
Step 4: Find the product of the number 1 and number 2 Read n1 and n2
Step 5: Display the product
Step 6: End Product = n1 x n2

Output Product

End
START

ENTER NUMBERS
n1 and n2

READ NUMBERS
n1 and n2

Difference = n1 - n2

Display Difference

END
ALGORITHM Start
Step 1:Start
Step 2: Input the numbers n1 and 2 Input n1 and n2
Step 3: Read the given numbers n1 and n2
Step 4: Find the difference of the number 1 and number 2 Read n1 and n2
Step 5: Display the difference
Step 6: End Difference = n1 - n2

Output Difference

End
Performance task in ICT

Submitted by: John Cedric O. Flores 10-Integrity

Submtted to: Ryan Daquiz

You might also like