:::: MENU ::::
  • Suitable for all screen sizes

  • Easy to Customize

  • Customizable fonts.

Saturday, December 19, 2015


Table of a Number:


import java.util.*;
public class Tables
{
    public static void main()
    {
        int n,i,f=1;
        Scanner sc=new Scanner(System.in);
        System.out.println("Enter the number");
        n=sc.nextInt();
        for(i=1;i<=10;i++)
        {
            System.out.println(n*i);
        }
    }
}


Thank you and make sure to like and comment.

0 comments:

Post a Comment

A call-to-action text Contact us