0
How to Create a Calculator in C programming language
Purely C programming language
2 ответов
+ 4
Ok first you try then if you have any problem then you can ask here
For help you can see the course of C
https://www.sololearn.com/Course/C/?ref=app
0
You get a number from the input. Then get the operator input, could be expressed as char or string. Then get another number input. To determine the operation with the operator input, you can use if or switch(char only) statement and define each operations. You also need another variable to store the result of the operation.
And finally, output the result variable.