0
Calculator program
I want to create calculator program in c++, can anybody help me??
3 ответов
+ 1
@Losteraable My code was an example. If you want to write float you can do it.
0
Write something like that:
int x, y;
cin >> x, y;
cout << x+y << endl;
cout << x-y << endl;
cout << x*y << endl;
and so on. On my codes there is a calculator if you need an example.
0
@thelastcookie isn't it better to write float or double instead of int so you can have numbers like .5 and stuff?