0

How to Create a Calculator in C programming language

Purely C programming language

8th Dec 2020, 9:30 AM
Steiner254
Steiner254 - avatar
2 Réponses
+ 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
8th Dec 2020, 9:54 AM
Piyush
Piyush - avatar
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.
8th Dec 2020, 9:54 AM
你知道規則,我也是
你知道規則,我也是 - avatar