Question: (IN C++ ONLY) Write a program to print all the numbers from n1 to n2, where n1 and n2 are two numbers specified by the
(IN C++ ONLY) Write a program to print all the numbers from n1 to n2, where n1 and n2 are two numbers specified by the user. (Hint: Youll need to prompt for two values n1 and n2; then, initialize i to n1 and use n2 in the loop condition.) Please write down a beginner friendly that is less complicated and level one friendly
*using a while loop
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
