repl.it
Java

No description

fork
loading
Files
  • Main.java
  • jdt.ls-java-project
Main.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import java.util.Scanner;

import sun.tools.jconsole.Plotter.Unit;
 class Main {
   public static void main(String[] args) {
     
     Scanner input = new Scanner(System.in);

     
     System.out.println("Enter a number");
     int Number = Integer.parseInt(input.nextLine());
     
     for(int i = 0; i < 10; i++)
     System.out.println(i + "times" + Number  + "is" +(i * Number));
     




   }
}