Write an algorithm and pseudocode that represents a program that allows a user to enter two numbers. Your program should calculate the sum, difference (both directions), product, and quotient (both directions) of the two numbers.

7 answers

read x,y
sum = x+y
diff1 = x-y
diff2 = y-x
product = x*y
quot1 = x/y
quot2 = y/x
Write an algorithm to find out difference , product, quotient
solve
not helpful but thanks
Create an application that will ask the user if he or she is a Value customer. If the user is a Value Customer, tell the user that he or she has earned a 10% discount on their purchase.
The Daily Gazette accepts classified ads in several categories. For most ads, the newspaper charges 10 cents per word for the first 50 words, and 8 cents per word for every word after that. Design a flowchart or pseudocode for a program that accepts data about and ad: customer name, ad category, and number of words. Display all the input data and the price for the add.
Write a pseudocode to determine the type of triangle, depending upon the value of the sides.