To accept two numbers and display their sum, product, difference, division.
Answer:-
Step 1: Start
Step 2: Accept first number and store in p
Step 3: Accept second number and store in D
Step 4: Calculate Sum of two numbers and store in Sum
step 5: Display "Your Sum of two numbers is " Sum
Step 4: Calculate Product of two numbers and store in Product
step 5: Display "Your Product of two numbers is " Product
Step 4: calculate Difference of two numbers and store in Difference
step 5: Display "Your Difference of two numbers is " Difference
Step 4: Calculate Division of two numbers and store in Division
step 5: Display "Your Division of two numbers is " Division
step 6: End
Step 1: Start
Step 2: Accept first number and store in p
Step 3: Accept second number and store in D
Step 4: Calculate Sum of two numbers and store in Sum
step 5: Display "Your Sum of two numbers is " Sum
Step 4: Calculate Product of two numbers and store in Product
step 5: Display "Your Product of two numbers is " Product
Step 4: calculate Difference of two numbers and store in Difference
step 5: Display "Your Difference of two numbers is " Difference
Step 4: Calculate Division of two numbers and store in Division
step 5: Display "Your Division of two numbers is " Division
step 6: End
Comments
Post a Comment