View Single Post
Old 12-03-2008   #1
sciencedoor
Registered Member
 
sciencedoor's Avatar
 
Last Online: 10-12-2012
Join Date: Nov 2006
Posts: 314
Thanks: 85
Thanked 167 Times in 81 Posts
Groans: 2
Groaned at 0 Times in 0 Posts
Default 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
sciencedoor is offline   Reply With Quote