c++ guru, urgent plz
ex1:
Using a do while loop , write a calculator program that reads an arithmetic such as
12+34-2+65-21=
from the user and gives you the result when it reads the equal sign.The expression can contain any number of integers and not just five as in the above example .The
only arithmetic operators used are +,-,and = .
(no strings, no arrays..) that's what they want
for suggestion comments send ok
ex3:
input an integer containing only 0s and 1s (i.e a binary integer )and print its decimal equivalent
plz
cuz i dont have time to search
__________________
Chase two birds at the same time and you will loose both
|