Computer Fundamental Blog
Monday, 25 August 2014
Find volume of cylinder lab1
int RadiusTwo, Radius=5, Height=10;
float Pie=3.14;
void setup(){
RadiusTwo = Radius*Radius;
println("The volum of this cylinder is "+RadiusTwo*Height*Pie);
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment