Program to display table of 15

/* Program to display table of 15  */

class ForDemo2
{
    public static void main(String args[])
    {
        int i = 0 ;

        System.out.println("Table of 15 -\n");

        for (i=1 ; i<=10 ; i++)
            System.out.println("15 * "+i+" : "+(15*i));
    }
}

0 comments:

Post a Comment

 
 
 
 


Copyright © 2012 http://codeprecisely.blogspot.com. All rights reserved |Term of Use and Policies|