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