hi i am scAry,from phillipines.A beginner about java programming.Anybody can help me? i need a code to how to write a java program that will ask for five numbers and will display the largest one by using DoWhile stament.....
I hope can help me,reply as soon as possible.
Thank you.
God Bless us all!!
Have you thought about this little problem yourself? Imagine that you can hold
one number in each hand. I give you numbers, one by one, you have to drop
one number and accept my new number; when I am out of numbers you're
supposed to carry one number: the maximum value of all numbers. Try to
visualize that process and you're almost in business.
Pay special attention to the 'special cases' where I don't give you any number
at all or just one number.
kind regards,
Jos