Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Area of the Cone
//gcc 5.4.0 #include <stdio.h> double CircleArea(int r){ double pi=3.1415; double rsq=r*r*pi; return(rsq); } double Volume(int h,double r){ double volume=CircleArea(r)*(h/3); return (volume); } int main(void){ double r=2; double h=4; double v=Volume(h,r); printf("The Area of the cone is %lf",v); }
run
|
edit
|
history
|
help
0
B_141111_Divisores
Lab 7 blackjack v0.5
ImprimeMensaje.c
data types and printf
Class #2, data types
tst1.c
1
printing float 3 pointers
Spring 2017 Project 2 v1.2
use_of_bool_in_loop