49. Write a program in java to print all odd numbers between 'n' and 'm' if nem otherwise print a message
“printing can not be done". Here 'n' is start value and 'm' is the last limit of loop.
Example (1): If n=2, m=18, then output would be: 3, 5, 7, 9, 11, 13, 15, 17
Example (2): If n=10, m=6, then output would be: printing can not be done
The given sequence of
Answers
Answered by
0
Answer:
......................
Similar questions
Math,
3 months ago
English,
7 months ago
Math,
7 months ago
Sociology,
1 year ago
CBSE BOARD X,
1 year ago