所有浮點型態(float)→皆轉換為double型態。 ... printf("請輸入一個整數及一個浮點數:"); //提示訊息 scanf("%d %f",&x, &y); ... 歌大神吧。
確定! 回上一頁