here is what i have to do >>>
Write a loop that reads up to 10 numbers and calculates their product and display the final product. Calculation should stop when the 10th number is read or 0 is read.
I have to use while loop.
here is what i have to do >>>
Write a loop that reads up to 10 numbers and calculates their product and display the final product. Calculation should stop when the 10th number is read or 0 is read.
I have to use while loop.
Right, the way homework postings are treated on this forum is that you post your code when you have tried something, and we help you get it right. And don't tell me that this is a commercial development project - and if it's your own learning, then for your own sake, try to follow the homework rules anyways - that's the best way to learn.
You can not learn programming by copying from web-sites.
--
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.