1. Write a program that ask the user for starting value and an ending value and then writes all the integers (inclusive) between those two values
5 6 7 8 9
2. Write a program that ask the user to enter a word. The program will then repeat word for as many time as it has characters:
Enter a word:
This posting was asking for two different Java problems. Both of the problems demonstrate how to use a for loop.
The first problem asks the user to enter two integer values and then prints all of the integers between them. Asking for ...
This solution provides two simple Java programs that show the concept of iteration.