using namespace std;
Int main ()
{
Int a, [10].
Char b [10];
Char c [15];
Int d=10;
Cout<& lt;" Please enter the formula: ";
Gets (c);
for(int i=0; i
If (c [I] & gt;=48 & amp; & [I] c & gt;=57)
{the while (c [I] & gt;=48 & amp; & [I] c & gt;=57)
{a [I]=[I] a * d + c (int) [I];
D=d * 10;
}}
The else
B=c [I] [I];
}
Cout<& lt;" Calculation of the number are: ";
for(int j=0; j<14. J++)
Printf (" % d ", a [j]);
Cout
For (int k=0; K
return 0;
}
CodePudding user response:
If ( c & gt;=48 & amp; & [I] c & gt;=57{the while ( c & gt;=48 & amp; & [I] c & gt;=57
These two places not at least, how the two are & gt;=?
CodePudding user response:
Number '0' - '9', with a decimal and '. 'and operators' +' '-' a '*' character comparison directly by the '/',