I actually had a bad experience with that when A classmate stole my work turned it in and i got in trouble
I'm sorry that you had this experience.
But it's going to be awfully difficult for anyone here to help without some code to look at. At least provide more specific information on your issue with a minimal amount of code that demonstrates your problem.
i will gladly pm u the code the problem is I have to enter the code as follows
(spaces)(num1(spaces)(operand either :+-%/*)(spaces) (num2)
I get my first function by doing
no matter what i try for the second operand or the second num I fail...
although i just came up with this
do another while loop for second num, and then from there open an if statement that says if operand then another if statement inside that says getchar save that getchar as a digit and retrn t, would that work?
Put the digits into a char string. When you get a non-number. convert the digits using a function such as atoi() . Copy the operator to another variable.
Set a value to 0.
Then when you read a number, subtract 0x30 from it which converts it to a binary digit .
Now multiply value by 10 and add the digit .
No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.