ok im new 2 c++ and im trying to make a basic program that stats
push q to square s subtract a 2 add d 2 divide
so what do i do after i type this
if its a lot of lines to do this if u wouldnt mind writing it or just say its too many lines
(if your too lazy ad dont wat to help me) >:|
--------------------------------------------------------------------------
#include < iostream.h>
int main ()
{
int x,q,s,a,d;
cout << "x=square d=divide a=add s=subtract q=square";
----------------------------------------------------------------------------
now what do i say
cin >> x;
cin >> d;
....... and so on
---------------------------------------------------------------------------
or do i skip that and say
if (x)
bla bla
if (q)
bla bla
........... and so on
----------------------------------------------------------------------------

Or am i just totally off track

i would really like it if u helped me out.......

thx