Print 1 to 50 using do while loop in Java

Introduction In this article, I am going to print the numbers from 1 to 50 using a do-while loop in java. This is a very simple program. Before writing this program, you must know the use of the do-while loop. …

Read more