วันอังคารที่ 11 มกราคม พ.ศ. 2554

แปลงหน่วยฟุตเป็นนิ้ว

Coding:

#include
int main (void){
int feet ,inches;
feet=5;
inches=feet*12;
printf("*Height in inches is %d \n",inches);
system("pause");

}

Output:

Height in inches is 60
Press any key to continue . ...

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

Popular Posts