C
Cristian
algebraic expression 'a*b+c' with CIN .Is it possible?
How to transfer the algebraic expression 'a*b+c' to the variable s
(all double) with cout in a "Console Application" ?
cout<<"Input a,b,c and expression in a,b,c "<<endl;
cin>>a;
cin>>b;
cin>>c;
cin>> ???!!!! and here !!!???. If I do cin>>(a*b*c) it's wrong !!!!
cout<<"This is a*b+c \n"<< s <<endl;
How to do it ?
Thanks
cristian
How to transfer the algebraic expression 'a*b+c' to the variable s
(all double) with cout in a "Console Application" ?
cout<<"Input a,b,c and expression in a,b,c "<<endl;
cin>>a;
cin>>b;
cin>>c;
cin>> ???!!!! and here !!!???. If I do cin>>(a*b*c) it's wrong !!!!
cout<<"This is a*b+c \n"<< s <<endl;
How to do it ?
Thanks
cristian