Solved Question 4 Write A Java Program To Do The Following

Solved Question 4 Write A Java Program To Do The Following