Welcome to pickSourcecode.com Login | Register    
pickZy.com
 Home  | search  | games  | General  | C  | C++  | Java  | Php  | Networking  | Visual Basic  | VC++  | Win32  | MFC  | JavaScript  | Jobs  | JavaScript  | Post jobs
Program to Display Multiplication Table in java       Share
2008-11-18 |  jayaprakashmanoharan  | Viewed: 3830  |    0

Program to Display Multiplication Table

/* Program to Display Multiplication Table */

class MultiplicationTable{

      public static void main(String args[]){

      int num = Integer.parseInt(args[0]);

      System.out.println("*****MULTIPLICATION TABLE*****");

      for(int i=1;i<=num;i++){

         for(int j=1;j<=num;j++){

            System.out.print(" "+i*j+" ");

         }

         System.out.print("\n");

      }

  }

}


Comments:





Submit comment's

Type:

User Comment's:

Submitted By:
Prof: Software
Tech: C ,Cpp
Send Mail: malathi.v



Related topics
java - Basic program in java
java - comparison operators
java - The switch Statement
java - The switch Statement - 2
java - The break Statement
java - Continue statement
Java - Display Current date and Time
Simple Text Editor in Java
Sounds Handling using Java applets
Multiplication table in Java
Find Maximum of 2 nos. in java
Find Minimum of 2 nos. using conditional operator in java
A program that will read a float type value from the keyboard in Java
A program to generate 5 Random nos. between 1 to 100 in Java
Program to display a greet message according to Marks obtained by student. in java

Related References
java - the equality and relational operators
java - bitwise and bit shift operators
java - the while and do-while statements
java - the if-then and if-then-else statements
java - the switch statement
java - the for statement
java - the break statement
java interview questions
objective type questions in java
simple data types in java
interview questions in java packages and interfaces
interface in java
exception handling in java
java literals
how arrays work in java?

Web site contents Copyright 2007, All rights reserved.
Help | Terms and Conditions | Privacy Policy | About Us