198 |
|
|
199 |
|
getpolygon() /* get projected area for a polygon */ |
200 |
|
{ |
201 |
< |
printf("Enter area of polygon: "); |
201 |
> |
printf("Polygon area? "); |
202 |
|
if (!getd(&projarea)) |
203 |
|
return(0); |
204 |
|
projarea *= unit2meter*unit2meter; |
211 |
|
{ |
212 |
|
double radius; |
213 |
|
|
214 |
< |
printf("Enter sphere radius: "); |
214 |
> |
printf("Sphere radius? "); |
215 |
|
if (!getd(&radius)) |
216 |
|
return(0); |
217 |
|
radius *= unit2meter; |
224 |
|
{ |
225 |
|
double length, radius; |
226 |
|
|
227 |
< |
printf("Enter cylinder length: "); |
227 |
> |
printf("Cylinder length? "); |
228 |
|
if (!getd(&length)) |
229 |
|
return(0); |
230 |
|
length *= unit2meter; |
231 |
< |
printf("Enter cylinder radius: "); |
231 |
> |
printf("Cylinder radius? "); |
232 |
|
if (!getd(&radius)) |
233 |
|
return(0); |
234 |
|
radius *= unit2meter; |
241 |
|
{ |
242 |
|
double radius; |
243 |
|
|
244 |
< |
printf("Enter disk radius: "); |
244 |
> |
printf("Disk radius? "); |
245 |
|
if (!getd(&radius)) |
246 |
|
return(0); |
247 |
|
radius *= unit2meter; |