area1c - scanf("%fl",...

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

View Full Document Right Arrow Icon
Sheet1 Page 1 //Area of a cirlcle //area.c #include<stdio.h> int main () { float radius, total printf("Please input a radius\n")
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: scanf(&quot;%fl&quot;, &amp;radius) total=3.1415926535*radius*radius printf(&quot;The area is equal to %fl\n&quot;, total) return 0 }...
View Full Document

This note was uploaded on 04/18/2008 for the course EME 5 taught by Professor Staff during the Fall '08 term at UC Davis.

Ask a homework question - tutors are online