精華區beta b92902xxx 關於我們 聯絡資訊
#include <stdio.h> #include <conio.h> int main() { float height, i; char name[10]; printf("your hight(meter) : \n"); scanf("%f",&height); printf("And your name : (English only)"); scanf("%s",&name); i = height*height*22; printf("Hi %s, your ideal weight is %f kg",name,i); getch(); return 0; }