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: 3717  |    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: lecturer
Tech: C ,Java
Send Mail: prakash_zones



Related topics
java - Basic program in java
java - The break Statement
Java - Display Current date and Time
Fun : "Flames"
Display AWT objects
Program to display a greet message according to Marks obtained by student. in java
Program to Display Multiplication Table in java
Program to generate a Triangle.(PASCAL) in java
Program to Display Invert Triangle in java
Program switch case demo in java
Display Triangle as follow : BREAK DEMO. in java
Display Triangle with alternative binary in java
Display Triangle with consecutive numbers in java
A Java Class sample program
Java - Basic Shapes (circle,rectangle) drawing

Related References
java - the break statement
variables: declaration,initialization,scope
what is type conversion? what do you mean by casting?
assignment operator in java
classes in java
assigning object reference variables in java
java - the stack class
using objects as parameters in java
java class libraries

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