function areacircle % % areacircle prompts the user for % a radius and prints the area of % the circle with that radius % r = input('Give radius : '); a = pi*r^2; fprintf('The area of circle with radius %.2f is %.6f\n',r,a);