Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Area and Volume coding
//gcc 5.4.0 #include <stdio.h> #include <math.h> int main(void) { double pi=3.14; double R=10; double V; double a; a=powf(R,2)*pi; printf("The area is %f\n", a); R=powf(R,3); V=(4.0/3.0)*pi*R; printf("The volume is %f\n", V); return 0; }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Ptr_to_fct__v2
C_141120_factorial01
Newtons method
Random by thread
Homework 2 Code
print_odd_pointer.c
use_of_bool_in_loop
test
string_ptr_to_fct_param_v2
2.1.3 Sum of squares of first hundred natural numbers with different cores
Please log in to post a comment.