วันอังคารที่ 25 สิงหาคม พ.ศ. 2558

Lab02 : BMI

void setup(){
  size(400,120);
  background(#7DED65);
  fill(#48A733);
  BMI_CALC(60,175);
}

void BMI_CALC (float weight,float h){
 float d=h/100;
 float BMI=weight/(d*d);
 textSize(30);
 text("BMI : " + BMI,0,30);
 text("Weight : " + weight + " kg",0,60);
 text("Height : " + h + " cm",0,90);
}



ไม่มีความคิดเห็น:

แสดงความคิดเห็น

commit เพิ่มเติม : เพื่ม userstory, bookmark

>>  add userstory ทำการเพิ่ม userstory ใน functional tests >>  add bookmark for user เพิ่มระบบ Bookmark โดยการสร้าง model ขึ...