Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
Volume of Sphere with Powf
//g++ 5.4.0 #include <stdio.h> #include <math.h> const float pie = 3.14; int main(void) { float radius; float volume; scanf("%f", &radius); volume = (4.0/3.0)*pie*powf(radius,3); printf ("the volume of the sphere is %f", volume); return 0; }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
is_num_palindrom
Graph Theory 2
ConvHull
Precendence of Pointer Indirection Example
Sample Code from Scott Meyer's Blog
Lockable static queue
stack::emplace for 30-second c++
project
Proga1
g++ -Wall *.cpp -o aco; ./aco.
Please log in to post a comment.