Did you actually mean that you should print out the calculation then and there?
--
Mats
Did you actually mean that you should print out the calculation then and there?
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
haha yes i think it works now. thanks for the help everyone
i am also new to c++, can anyone help me with identifying the errors in te same program?
Thanks,
Chris
It might be the same program, but you've probably made different mistakes.
So post your code, and this time start a new thread. Don't hijack someone else's.
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.