Skip to content

Primorion/MultiplicationTable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

MultiplicationTable

Lab Activity 3

package Funda;
import java.util.*;
public class LabAct3 {

	public static void main(String[] args) {
		
	    Scanner scn = new Scanner(System.in);
	    System.out.print("Enter Number of Rows:");
	    int Row = scn.nextInt();
	    System.out.print("Enter Number of Columns:");
	    int Col = scn.nextInt();
	    
	    for(int x = 1; x<=Row; x++)
	    {
	    for(int y = 1; y<=Col; y++)
	    {
	    System.out.format("%5d", + x*y); 
	    }
	    System.out.println(" ");

	}

 }
}

About

Lab Activity 3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published