- 1
i need to create a calculator with c++ with ( while +×÷%)
4 ответов
0
player
0
char continue = 'y';
int Number1, Number2
char Operator;
while(continue == 'y' || continue == 'Y'){
cin >> Number1;
cin >> Operator;
cin >> Number2;
if(Operator == '+')
{...}
.
.
.
else if (...){
}
cin >> continue; // if user input is y Or Y then continue else exit
}
0
use switch dear and match these character cases
0
Where is a question?