C 練習(xí)實(shí)例98 C 語(yǔ)言經(jīng)典100例 題目:從鍵盤輸入一個(gè)字符串,將小寫字母全部轉(zhuǎn)換成大寫字母,然后輸出到一個(gè)磁盤文件"test"中保存。 輸入的字符串以!結(jié)束。 程序分析:無。 程序源代碼: // Created by www.w3cschool.cn on 15/11/9. // ...
http://www.yjpub.cn/c/c-exercise-example98.htmlC 練習(xí)實(shí)例8 C 語(yǔ)言經(jīng)典100例 題目:輸出9*9口訣。 程序分析:分行與列考慮,共9行9列,i控制行,j控制列。 程序源代碼: // Created by www.w3cschool.cn on 15/11/9. // Copyright © 2015年 W3Cschool教程. All rights reserved. // #include<stdio.h> ...
http://www.yjpub.cn/c/c-exercise-example8.htmlC 練習(xí)實(shí)例2 C 語(yǔ)言經(jīng)典100例 題目:企業(yè)發(fā)放的獎(jiǎng)金根據(jù)利潤(rùn)提成。利潤(rùn)(I)低于或等于10萬元時(shí),獎(jiǎng)金可提10%;利潤(rùn)高于10萬元,低于20萬元時(shí),低于10萬元的部分按10%提成,高于10萬元的部分,可可提成7.5%;20萬到40萬之間時(shí),高...
http://www.yjpub.cn/c/c-exercise-example2.html...可以使用 MarsCode 的內(nèi)置題目或創(chuàng)建自定義題目。 ## 答題語(yǔ)言 [Python_blank](https://www.w3cschool.cn/python3/)、[JavaScript_blank](https://www.w3cschool.cn/javascript/)、[Go_blank](https://www.w3cschool.cn/go/)、[C++_blank](https://www.w3cschool.cn/cpp/)、[C_blank](https://ww...
http://www.yjpub.cn/marscode/marscode-bxgn3zix.htmlC 練習(xí)實(shí)例59 C 語(yǔ)言經(jīng)典100例 題目:畫圖,綜合例子。(在TC中實(shí)現(xiàn))。 程序分析:無。 程序源代碼: // Created by www.w3cschool.cn on 15/11/9. // Copyright © 2015年 W3Cschool教程. All rights reserved. // # define PAI 3.1415926 # define B 0.809 # includ...
http://www.yjpub.cn/c/c-exercise-example59.htmlC 練習(xí)實(shí)例69 C 語(yǔ)言經(jīng)典100例 題目:有n個(gè)人圍成一圈,順序排號(hào)。從第一個(gè)人開始報(bào)數(shù)(從1到3報(bào)數(shù)),凡報(bào)到3的人退出圈子,問最后留下的是原來第幾號(hào)的那位。 程序分析:無。 程序源代碼: // Created by www.w3cschool.cn on 15/11/...
http://www.yjpub.cn/c/c-exercise-example69.htmlC 練習(xí)實(shí)例65 C 語(yǔ)言經(jīng)典100例 題目:一個(gè)最優(yōu)美的圖案(在TC中實(shí)現(xiàn))。 程序分析:無。 程序源代碼: // Created by www.w3cschool.cn on 15/11/9. // Copyright © 2015年 W3Cschool教程. All rights reserved. // #include "graphics.h" #include "math.h" #include ...
http://www.yjpub.cn/c/c-exercise-example65.htmlC 練習(xí)實(shí)例94 C 語(yǔ)言經(jīng)典100例 題目:猜謎游戲。 程序分析:無。 程序源代碼: // Created by www.w3cschool.cn on 15/11/9. // Copyright © 2015年 W3Cschool教程. All rights reserved. // #include <stdio.h> #include <stdlib.h> #include <time.h> void c...
http://www.yjpub.cn/c/c-exercise-example94.htmlC 練習(xí)實(shí)例74 C 語(yǔ)言經(jīng)典100例 題目:連接兩個(gè)鏈表。 程序分析:無。 程序源代碼: // Created by www.w3cschool.cn on 15/11/9. // Copyright © 2015年 W3Cschool教程. All rights reserved. // #include <stdlib.h> #include <stdio.h> struct list { int data; ...
http://www.yjpub.cn/c/c-exercise-example74.htmlC 練習(xí)實(shí)例33 - 質(zhì)數(shù)(素?cái)?shù))判斷 C 語(yǔ)言經(jīng)典100例 題目:判斷一個(gè)數(shù)字是否為質(zhì)數(shù)。 程序分析:質(zhì)數(shù)(prime number)又稱素?cái)?shù),有無限個(gè)。一個(gè)大于1的自然數(shù),除了1和它本身外,不能被其他自然數(shù)整除。 程序源代碼: // Created ...
http://www.yjpub.cn/c/c-exercise-example33.html抱歉,暫時(shí)沒有相關(guān)的微課
w3cschool 建議您:
抱歉,暫時(shí)沒有相關(guān)的視頻課程
w3cschool 建議您:
抱歉,暫時(shí)沒有相關(guān)的教程
w3cschool 建議您:
C 練習(xí)實(shí)例98 C 語(yǔ)言經(jīng)典100例 題目:從鍵盤輸入一個(gè)字符串,將小寫字母全部轉(zhuǎn)換成大寫字母,然后輸出到一個(gè)磁盤文件"test"中保存。 輸入的字符串以!結(jié)束。 程序分析:無。 程序源代碼: // Created by www.w3cschool.cn on 15/11/9. // ...
http://www.yjpub.cn/c/c-exercise-example98.htmlC 練習(xí)實(shí)例8 C 語(yǔ)言經(jīng)典100例 題目:輸出9*9口訣。 程序分析:分行與列考慮,共9行9列,i控制行,j控制列。 程序源代碼: // Created by www.w3cschool.cn on 15/11/9. // Copyright © 2015年 W3Cschool教程. All rights reserved. // #include<stdio.h> ...
http://www.yjpub.cn/c/c-exercise-example8.htmlC 練習(xí)實(shí)例2 C 語(yǔ)言經(jīng)典100例 題目:企業(yè)發(fā)放的獎(jiǎng)金根據(jù)利潤(rùn)提成。利潤(rùn)(I)低于或等于10萬元時(shí),獎(jiǎng)金可提10%;利潤(rùn)高于10萬元,低于20萬元時(shí),低于10萬元的部分按10%提成,高于10萬元的部分,可可提成7.5%;20萬到40萬之間時(shí),高...
http://www.yjpub.cn/c/c-exercise-example2.html...可以使用 MarsCode 的內(nèi)置題目或創(chuàng)建自定義題目。 ## 答題語(yǔ)言 [Python_blank](https://www.w3cschool.cn/python3/)、[JavaScript_blank](https://www.w3cschool.cn/javascript/)、[Go_blank](https://www.w3cschool.cn/go/)、[C++_blank](https://www.w3cschool.cn/cpp/)、[C_blank](https://ww...
http://www.yjpub.cn/marscode/marscode-bxgn3zix.htmlC 練習(xí)實(shí)例59 C 語(yǔ)言經(jīng)典100例 題目:畫圖,綜合例子。(在TC中實(shí)現(xiàn))。 程序分析:無。 程序源代碼: // Created by www.w3cschool.cn on 15/11/9. // Copyright © 2015年 W3Cschool教程. All rights reserved. // # define PAI 3.1415926 # define B 0.809 # includ...
http://www.yjpub.cn/c/c-exercise-example59.htmlC 練習(xí)實(shí)例69 C 語(yǔ)言經(jīng)典100例 題目:有n個(gè)人圍成一圈,順序排號(hào)。從第一個(gè)人開始報(bào)數(shù)(從1到3報(bào)數(shù)),凡報(bào)到3的人退出圈子,問最后留下的是原來第幾號(hào)的那位。 程序分析:無。 程序源代碼: // Created by www.w3cschool.cn on 15/11/...
http://www.yjpub.cn/c/c-exercise-example69.htmlC 練習(xí)實(shí)例65 C 語(yǔ)言經(jīng)典100例 題目:一個(gè)最優(yōu)美的圖案(在TC中實(shí)現(xiàn))。 程序分析:無。 程序源代碼: // Created by www.w3cschool.cn on 15/11/9. // Copyright © 2015年 W3Cschool教程. All rights reserved. // #include "graphics.h" #include "math.h" #include ...
http://www.yjpub.cn/c/c-exercise-example65.htmlC 練習(xí)實(shí)例94 C 語(yǔ)言經(jīng)典100例 題目:猜謎游戲。 程序分析:無。 程序源代碼: // Created by www.w3cschool.cn on 15/11/9. // Copyright © 2015年 W3Cschool教程. All rights reserved. // #include <stdio.h> #include <stdlib.h> #include <time.h> void c...
http://www.yjpub.cn/c/c-exercise-example94.htmlC 練習(xí)實(shí)例74 C 語(yǔ)言經(jīng)典100例 題目:連接兩個(gè)鏈表。 程序分析:無。 程序源代碼: // Created by www.w3cschool.cn on 15/11/9. // Copyright © 2015年 W3Cschool教程. All rights reserved. // #include <stdlib.h> #include <stdio.h> struct list { int data; ...
http://www.yjpub.cn/c/c-exercise-example74.htmlC 練習(xí)實(shí)例33 - 質(zhì)數(shù)(素?cái)?shù))判斷 C 語(yǔ)言經(jīng)典100例 題目:判斷一個(gè)數(shù)字是否為質(zhì)數(shù)。 程序分析:質(zhì)數(shù)(prime number)又稱素?cái)?shù),有無限個(gè)。一個(gè)大于1的自然數(shù),除了1和它本身外,不能被其他自然數(shù)整除。 程序源代碼: // Created ...
http://www.yjpub.cn/c/c-exercise-example33.html抱歉,暫時(shí)沒有相關(guān)的文章
w3cschool 建議您: