課程
/后端開發
/C
/C語言入門
????? int age = 15;錯了嗎
2016-09-26
源自:C語言入門 2-4
正在回答
weight前用float或double都行(后面是實數),char是定義字符,long定義長整型
慕先生6498225
慕粉3982940 提問者
float?weight = 82.5或者double weight=82.5? 小數類型為實型 定義錯了
int age; age=15;先定義 在賦值
?int age = 15;
是沒錯的,但你后面的
? ? ? ? long char weight = 82.5;
? 應改為double型的:
double weighet=82.5
舉報
C語言入門視頻教程,帶你進入編程世界的必修課-C語言
1 回答int和short int 和short 的區別
2 回答int、short int、long int、unsighed int、unsighed long int、unsighed short int的取值范圍的計算方法是什么
3 回答int和short int有什么區別嗎
2 回答short int與int之前是否沒區別?
1 回答為啥身高要用short 不用int
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網安備11010802030151號
購課補貼聯系客服咨詢優惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號
2016-09-26
weight前用float或double都行(后面是實數),char是定義字符,long定義長整型
2016-09-26
float?weight = 82.5或者double weight=82.5? 小數類型為實型 定義錯了
2016-09-26
int age; age=15;先定義 在賦值
2016-09-26
?int age = 15;
是沒錯的,但你后面的
? ? ? ? long char weight = 82.5;
? 應改為double型的:
double weighet=82.5