Do-while loop





Q1- Write a program that displays back-counting from 10 to 1 using a do-while loop

Q2- Write a program that inputs two numbers from the user and displays that product. It then asks the user to continue again or not. The program inputs two numbers again if the user enters ‘Y’ and exists if the user enters ‘n’.

Q3- Write a program that gets starting and ending points from the user and displays all odd numbers in give range using a do-while loop.