Posted by sunita on Monday, September 20, 2010 at 7:36am.
You do not require an algorithm to do the named operations because there is no repetition. You need a pseudocode (the steps named in English or an understandable language) or a computer programme.
Think of the computer as a robot and give it instructions to do what you need done. Split the instructions into simple steps. Post what you have and we will give you our comments.
Get first integer number
Get second integer number
Get operator
if operator is +
set total = first number + second number
endif
elseif operator is -
set diff = first number - second
endesif
elseif operator is *
set product = first number * second number
endelseif
else
quotient = first number / second number
end else
Related Questions
Program Design - You require an algorithm that will receive an integer from the ...
Programming - Read two numbers from the keyboard Display the menu options as ...
algorithm - can someone tell me if this is correct. Write an algorithm that will...
programming - 1. Write a structured algorithm that prompts the user to input two...
Math - If a positive two-digit integer is divided by the sum of its digits, the ...
Computers - Help guys..here is what I need.. and unfortunately I need this in ...
Java - I am supposed to convert a program i already made into a Java console ...
progra - how would i be able to write a function module for average from this ...
math - Find the two numbers that multiply to the product number and add to the ...
PRE CALC - Which combination of limit properties is required to evaluate this ...
For Further Reading