Assignemnt #79 and ten.java

Code

    /// Name: Boris Kazantsev
    /// Period: 6
    /// Program Name: ten
    /// File Name: ten.java
    /// Date Finished: 2/22/2016
    
    import java.util.Scanner;

    public class ten{
        public static void main(String[] args){
            Scanner keyboard = new Scanner(System.in);
            
            System.out.print("1. ");
            String word = keyboard.nextLine();
            
            for ( int n = 2; n <= 10; n = n + 1){
                System.out.println(n+". "+ word);
            }
        }
    }


   
    

Picture of the output

Assignment 79