In this line you are asking for input from the user.



in this line you are calculating the area.



If you have already taken radius as input , then why you are asking for input in this...