Me again. Still doesn't really work.
Do While Loops Write a program that takes N numbers as input and outputs the numbers from N to 0, skipping the ones that are multiple of 3. Sample Input 7 Sample Output 7 5 4 2 1 0 My code: import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner read = new Scanner(System.in); int number = read.nextInt(); // N while(number > 0) { if(number%3==0) { continue; } System.out.println(number); number = number - 1; } System.out.println("0"); } } What is still wrong ? My output is : Execution Timed Out!