+ 5
[C + +] Let's say I have a string a="+32+4-6", how do I evaluate it equal to 30 and store it in an integer variable?
7 Réponses
+ 5
thanks Saurabh Tiwari and Sachin
+ 2
write this code
int a;
a = 32+4-6;
cout << a;
+ 2
BlazeGamingUnltd The user will enter 32+4-6 as a string! (actually its a part of a problem, I understand it looks odd)
+ 2
oh..
+ 1
I also don't know
0
i dnt understand pls elp i wnt to code apps wt lesson shuld i go 4r is it c++ or java pls explain