Solved I Need Help With This Java Assignment The Program

Solved I Need Help With This Java Assignment The Program