/// Name: Boris Kazantsev /// Period: 6 /// Program Name: forloop /// File Name: forloop.java /// Date Finished: 2/22/2016 import java.util.Scanner; public class forloop{ public static void main(String[] args){ Scanner keyboard = new Scanner(System.in); System.out.print("Message: "); String message = keyboard.nextLine(); for ( int n = 1; n <= 5 ; n = n+1) { System.out.println( n+". " + message); } } }