+91-85006-22255
Write a program to print numbers in reverse order from the given input number till 1. Every number should be on a separate line. Use System.out.println or System.out.print for printing.
6
654321
10
10987654321
class PrintNumbersInReverse { public static void main(String s[]) { printNumbersInReverse(7); } public static void printNumbersInReverse(int input) {
} }
Topic: for Loop In Java
Read this topic Take test on this topic
Open In App