+ 2
Why it's not working
5 ответов
+ 5
import java.util.Scanner;
public class Program
{
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int no = sc.nextInt();
int x = 0;
while(x<=10){
x++;
System.out.println(no*x);
}
}
}
+ 1
It is not going to the while loop. Because the condition is false
+ 1
Hope that this helps you 👆
+ 1
vatsal k My pleasure
0
Ok thanks