11th Feb 2021, 12:31 PM
vatsal k
vatsal k - avatar
5 Respuestas
+ 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); } } }
11th Feb 2021, 12:50 PM
Atul [Inactive]
+ 1
It is not going to the while loop. Because the condition is false
11th Feb 2021, 12:50 PM
Atul [Inactive]
+ 1
Hope that this helps you 👆
11th Feb 2021, 12:50 PM
Atul [Inactive]
+ 1
vatsal k My pleasure
11th Feb 2021, 1:14 PM
Atul [Inactive]
0
Ok thanks
11th Feb 2021, 1:02 PM
vatsal k
vatsal k - avatar