close
Blogtrottr
Yahoo!奇摩知識+ - 分類問答 - 電腦網路 - 已解決
Yahoo!奇摩知識+ - 分類問答 - 電腦網路 - 已解決
C語言圓周長
Apr 29th 2013, 02:47

我的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.

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions
arrow
arrow
    全站熱搜

    newspoku 發表在 痞客邦 留言(0) 人氣()