0

My teacher give me this, write this in C++, but I have a lot of project, please help me

Write a program "computer". The program allows the user to enter an expression, then print the results to the screen.
Note:
- Expressions parentheses, brackets can nest
- Expressions will have calculations (plus (+), minus (-), multiply (), division (/), hat (^)
- Can remove multiplication (
) before the brackets. For example: 3 * (2 +1)  3 (2 +1)
- There are plus points if the expression is calculated as a function of sin, cos, sqrt, ...

4
Contributors
3
Replies
15
Views
3 Years
Discussion Span
Last Post by AcmeUK
0

Welcome to DaniWeb helb,

You stand a better chance of getting C++ help if you post you questions in the C++ form but you also need to show that you've attempted the task yourself first otherwise you might struggle to get any helpful replys.

Have a go at Googling it, the calculator is a beginner's task in most languages so there will be plenty of examples for you to look at.

0

What ChrisHunter said, plus we don't don't do your homework for you, no matter how much of it you have! Make a decent effort, and many of us will help you sort out your issues, but until then, don't bother asking!

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.