跳到主文
部落格全站分類:生活綜合
我的C語言是這樣寫的但是他不能動為甚麼#include int main(void){int a;/*宣告一個整數變數a*/float b,c;/*d宣告一個小數變數為b c*/printf("所輸入的半徑為:");scanf("%d",&a);/*鍵盤輸入一個整數*/
printf("b=%f\n", 3.14*(r*2)) ;printf("c=%f\n", 3.14*(r*r)) ;
getchar();getchar();return 0;}
哪裡出錯能指導一下嗎?
This entry passed through the Full-Text RSS service — if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers. Five Filters recommends: Thatcher's Tyrants - The Tanks, The Guns, The Christmas Cards.
2016韓劇 38師機動隊】電視劇 38師機動隊劇情&人物介紹~徐仁國、崔秀榮、馬東錫-小宅戲劇週記38師機動隊線上看 - 38師機動隊線上看免費
newspoku 發表在 痞客邦 留言(0) 人氣()
留言列表