Algorithm and Flowchart To print the natural numbers from 1 to 50 in the reverse order.
33
Answers
Answered by
0
Answer:
public class Main
{
public static void main(String[] args) {
System.out.println("The natural numbers between 1 and 50 are-");
for(int i = 50; i >= 1; i--){
System.out.print(i + " ");
}
}
}
Explanation:
Similar questions