Java Program a simple demonstration of using While Loop.1 min read

Output: