Solved Java Program Wrongly Asked For C But Need It In

Solved Java Program Wrongly Asked For C But Need It In