Machine Problem

Write a program to generate a multiplication table using Java Programming language.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.
My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

Program Listing

public class Multiplication_Table {
	
	public static void main(String[] args) {

        int Table_Size = 10;

      Display(Table_Size);
    }
   
    public static void Display(int Table_Size) {
    	
    	System.out.println();
        System.out.print("\t\t MULTIPLICATION TABLE IN JAVA ");
        System.out.print("\n\n");
        System.out.format("      ");

        for(int i = 0; i<=Table_Size ;i++ ) {

            System.out.format("%4d",i);

        }

        System.out.println();

       System.out.println(" -------------------------------------------------");

        
        for(int i = 0 ;i<=Table_Size ;i++) {

             System.out.format("%4d |",i);

            for(int j=0;j<=Table_Size ;j++) {

                System.out.format("%4d",i*j);

            }

            System.out.println();

        }
   System.out.println();
   System.out.println("\t\t END OF PROGRAM");     
   System.out.println("\n\n");

}
}

Leave a Reply

Your email address will not be published.