Showing posts with label Multiplication Table in Java. Show all posts
Showing posts with label Multiplication Table in Java. Show all posts

Wednesday, October 23, 2019

Multiplication Table in Java

I wrote a simple multiplication table program that uses nested for loop statement in Java as my 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.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod City I also accepting computer repair, networking and Arduino Project development at a very affordable price.



Sample Program Output

Program Listing

 multiplication_table.java

// Multiplication Table in Java
// Author : Jake Rodriguez Pomperada
// October 23, 2019   Wednesday 

package multiplication_table_demo;

public class multiplication_table {

public static void main(String[] args) {
   System.out.println("\n");
   System.out.println("\t\tMULTIPLICATION TABLE");
   System.out.println("\n");
    for (int a=1; a<=12; a++) {
    for (int b=1; b<=12; b++) {
    System.out.printf("%4d",(a*b));
    }
    System.out.println();
    }
}

}

Saturday, October 29, 2016

Multiplication Table in Java

One of my friend and fellow software engineer named Mr. Alfel Benvic G. Go write and share to us his version of multiplication table using Java programming language. He is using NetBeans as his text editor to wrote this program. I am very grateful and thankful because he share his talent with this program.

Add me at Facebook my address is jakerpomperada@gmail.com and jakerpomperada@yahoo.com. 

My email address are the following jakerpomperada@gmail.com and jakerpomperada@yahoo.com. 

My mobile number here in the Philippines is 09173084360.





Tuesday, July 7, 2015

Multiplication Table in Java

In this short article I would like to share with you a program that I wrote using Java as my programming language I called this program multiplication table. What the program does is that it will display a multiplication table on the screen very similar that is being used in elementary mathematics.  

I hope you will find my work useful in learning how to program in Java. If you have some questions please send me an email at jakerpomperada@gmail.com and jakerpomperada@yahoo.com.

People here in the Philippines can reach me at my mobile number 09173084360.

Thank you very much and Happy Programming.



Sample Program Output

Program Listing

// multiplication_table.java
// Written By: Mr. Jake R. Pomperada, MAED-IT
// Date : July 7, 2015
// Email Address: jakerpomperada@yahoo.com
//                jakerpomperada@gmail.com

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.print("\t\t    MULTIPLICATION TABLE ");
        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("\n");
   System.out.println("\t\t END OF PROGRAM");     
   System.out.println("\n\n");
    }
}