You are on page 1of 1

1.

Algorithm

Step 1: Initialize of sum, product, difference and Quotient.

Step 2: Read the num1 and num2

Step3: Compute sum by adding num1 and num2

Compute product by multiply num1 and num2

Compute difference by Subtract num1 and num2

Compute Quotient by Divide num1 and num2.

Step 4: Print the computed value of sum, product, difference, quotient.

Start

Sum= 0
Product= 0
Difference= 0
Quotient= 0

Read num1,num2

Sum= num1+num2 Diff= num1-num2

Pro= num1

You might also like