-1

**Bold Text Here* what is the code for performing mathematic calculation based on BODMAS rule in C*(such as 6+6/2=9) ,any suggestion ,plz??

Edited by ashish karna

Votes + Comments
duplicate thread: http://www.daniweb.com/software-development/c/threads/426230/calcultor
4
Contributors
7
Replies
9
Views
5 Years
Discussion Span
Last Post by Sokurenko
0

You can convert the equation into postfix or prefix format n then solve the equation.

0

here is the guy who added code to help other Click Here
this is related article maybe, dont know your level and what you whant really though. Can you describe what you whant to do ? What your program must do

also this wiki it even has algorithm :)

Edited by Sokurenko: more

0

i need write a program that should check the equation and process it a/c to BODMAS method in C

1

use this wiki page that i gave you there is stack implementation algorithm, then post code and someone will help you

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.