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
|
1321 Discussions
|
Please Login in order to post a comment
import java.io.*;
public class Solution { public static void main(String[] args) throws IOException { BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));
}
Scanner sc = new Scanner(System.in); int n = sc.nextInt(); for(int i=1 ;i<=10 ;i++) { System.out.println(n+" x "+i+" = " +i*n); }
for(int i=1;i<=10;i++){ System.out.println(N+" x "+i+" = "+(N*i)); }
import java.io.; import java.util.;
public class Solution {
}