Need Help!

New to c++ please help me

Design a calculator that performs five operations: addition, subtraction, multiplication, division, and power with 2 integer numbers.

a) Prompt user to enter the type of operation to perform (+, -, *, /, or ^).
a. You can use numbers (1,2,3,4,5) to specify those operations. Or, you
can directly accept the symbols of those operations from the
keyboard.
b) Prompt user to enter 2 integer numbers (say, x and y).
c) Perform the operation on x and y as specified in (a). If the operation is power
(^), then compute x and y raised to power 3 (x^3, y^3).
d) Print your result.
Hi,

Can you show us what you have done so far?
rules and everyday common sense tell us that we don't just do stuff for people. Post what you have but i will give you a hint.in pesudocode

ask what operation

get operation

if add then
get 2 numbers
add 2 numbers

if subtract then
number 1 minus number 2

...
Topic archived. No new replies allowed.