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

Output: