We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Java
- Introduction
- Java Loops I
- Discussions
Java Loops I
Java Loops I
Sort by
recency
|
1376 Discussions
|
Please Login in order to post a comment
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));
}
import java.util.Scanner; public class Solution { public static void main(String[] args) { Scanner s = new Scanner(System.in);
}
int i; for(i=1;i<=10;i++){ System.out.println(N+" x "+i+" = "+N * i);
}
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));
}
public class Solution { public static void main(String[] args) { Scanner scan= new Scanner(System.in); int n=scan.nextInt(); for(int i=1;i<=10;i++){ int res=n*i; System.out.println(n+" x "+i+" = "+res);
}