![]() |
Calculator program in C
The below code is a calculator in plain C. It does not take into account the operability of bodmas but just one operation at a time.
The main thing in the source code below in the scanf which scans the input as number symbol number just as in case of normal calculator. Code: C
|
Re: Calculator program in C
Verry good.
Would you mind joining and writting a tutorial at my forums. SEE MY SIG People hate it when i right a tutorial. I just aint good at telling people how to do something like that. Thanks |
Re: Calculator program in C
I would love to but I see no topics on your forums and so how you know people hate what you write. I also had something similar thinking when I started but thanks to G4EF that made me think otherwise.
|
Re: Calculator program in C
very good stuff man
|
Re: Calculator program in C
i got another option in your program
Code:
#include <stdio.h><br> |
Re: Calculator program in C
sorry for that reply....this is the real one
Code:
#include <stdio.h> |
Re: Calculator program in C
your program doesnt work if a space is given between operan & operator
2+5=7 but 2 + 5 doesnt work |
Re: Calculator program in C
Great stuff!
|
Re: Calculator program in C
Nicely done
|
Re: Calculator program in C
This program is very nicely done.
I like this program. I have try it. it is very good. |
| All times are GMT +5.5. The time now is 22:48. |