% howMuchPizza.m  
% 09/03/2007   Phill Conrad for CISC106 section 99
% Script to compute how much pizza you get if you 
% get 2 12-inch pizzas vs. 1 x-large 16-inch pizza


regPizzaDiam = 12;
regPizzaRadius = regPizzaDiam / 2;
regPizzaArea = pi * (regPizzaRadius ^ 2);

xLargePizzaDiam = 16;
xLargePizzaRadius = xLargePizzaDiam/2;
xLargePizzaArea = pi * (xLargePizzaRadius ^ 2);

% leave off semicolons to get output to print 

totalAreaTwoTwelveInchPizzas = 2 * regPizzaArea
totalAreaOneSixteenInchPizza = xLargePizzaArea

% end of howMuchPizza.m




