Solved Write The Java Code Dont Write Me The Algorithm Of It

Solved Write The Java Code Dont Write Me The Algorithm Of It