Write a program to print all odd numbers between n and m if n is smaller than m otherwise print a message printing cannot be done here and start value and m is the last limit of loop
Answers
Answered by
0
Answer:
Given a number N, the task is to print the numbers from N to 1.
Examples:
Input: N = 10
Output: 10 9 8 7 6 5 4 3 2 1
Input: N = 7
Output: 7 6 5 4 3 2 1
Similar questions