cis122.spr13.wk2d2.post

14159 the area of the pizza is the area of the circle

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: k >>> pizza_calc(22, 16) [comparison_cost] >>> pizza_calc(24, 18) [comparison_cost] CIS 122 Introduc1on to Programming Spring 2013 CIS 122 Introduc1on to Programming Spring 2013 Thinking... Recall that the area of a circle can be determined by using the formula πr2 where r is the radius of the circle (1/2 the diameter) and π = 3.14159. 3 4/11/13 CIS 122 Introduc1on to Programming Spring 2013 Rec...
View Full Document

This note was uploaded on 02/12/2014 for the course CIS 122 taught by Professor Staff during the Spring '08 term at University of Oregon.

Ask a homework question - tutors are online