What needs to go inside the loop?
What condition or event will end the looping?
Either the while's condition or the break statement can be use to end the loop.
Write a small practice program...
Type: Posts; User: Norm
What needs to go inside the loop?
What condition or event will end the looping?
Either the while's condition or the break statement can be use to end the loop.
Write a small practice program...
repetitively means using a loop like a while loop that continues looping until some event like a user's input tells the program to exit the loop.
A method can only return one value each time it is called.
What is the main() method supposed to do? You can't write the code until you know what it is supposed to do.
Its better to work out the logic before trying to write any code. Make a list of the steps and the tests the code needs to make.
What steps have you worked out so far?
Where are you having...