% This script will call a function to calculate the area and circumference
% of a circle. User will supply the radius.

clear all
clc


disp('We will find the area and circumference of any circle!');
r = input('What is the radius of your circle? ');

% call our function that returns area and circumference
[a,c] = circleData(r);

fprintf('\nThe area of your circle is %.2f square units.\n\n',a);
fprintf('The circumference of your circle is %.2f units.\n\n',c);