Last edited by Abo; 09-17-2011 at 02:30 PM.
Well post your code - saying it "compiles" doesn't tell us much.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
I have posted a portion. thanks in advance for any help.
From what I understand, number1 and number2 are integers, right? Well, number1/number2 results in integer division, discarding the fractional part.
EDIT: Oh, and please use code tags.
Devoted my life to programming...
You know I am so new to this I have no idea what code tags are.