From 9c3054f87dfeb9ed3cbb263766469ea1240aced4 Mon Sep 17 00:00:00 2001 From: pratikdesai189 Date: Mon, 18 Apr 2022 18:09:24 +0530 Subject: [PATCH] JAVA Loops I --- Java/Introduction/Loops I.java | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Java/Introduction/Loops I.java diff --git a/Java/Introduction/Loops I.java b/Java/Introduction/Loops I.java new file mode 100644 index 0000000..ccb7a94 --- /dev/null +++ b/Java/Introduction/Loops I.java @@ -0,0 +1,23 @@ +import java.io.*; +import java.math.*; +import java.security.*; +import java.text.*; +import java.util.*; +import java.util.concurrent.*; +import java.util.regex.*; + + + +public class Solution { + public static void main(String[] args) throws IOException { + BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in)); + + int N = Integer.parseInt(bufferedReader.readLine().trim()); + + bufferedReader.close(); + for(int i=1;i<=10;i++) + { + System.out.println(N+ " x " + i + " = " +N*i); + } + } +}