c程序設(shè)計編程題庫_第1頁
已閱讀1頁,還剩10頁未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)

文檔簡介

1、LearnGeneralSecretaryon“twotolearna“strengthening“fourConsciousnesses“imptantspeechcausedastrongreactioninthecountry.Timewatching“redtreasure“theiginofbuildingthepartybacktopowerhowtostrengthenservicesfthemassesimprovepa

2、rtycohesionfightingtobecomethegrassrootspartymembersmasseshottopic.Grassrootspartyganizations“two“istostrengthentheserviceofpartymemberscadresthepioneerspirit.Distributionofgrassrootspartyganizationsinallwalksofpeopleclo

3、thingshelterwhichbelongstothenerveendingsofthepartyganizationcommentsreputationhasadirectperceptionofthemasses.Strengthenthepartyaheadofthe“pedal“spiritstrengthenthepartymemberscadres“successdoesnothavetobeme““thefirstto

4、bearhardshipsthelastto“servicespirittosetthepartyspositiveimageamongthepeopleisimptant.Grassrootspartyganizations“two“istocleanseallpeoplenothappynottosee“stereotypes“establishthehonestfaithfuldiligentfaithfthepeople.Non

5、eedtoavoidmentioningthatsomemembersofourpartycannotstthe“money“crosionoftemptationthinXuZhousuchabusecruptbriberymalfeasancebersrats.TwoistocleanupthinXuZhoussolutiontorestethepartysfreshnaturalsolidhonestwkstyle.Cleansi

6、ng“takeeatcard“undesirablebehaviour“crosshardcoldpush“attitude.Grassrootspartyganizations“two“istostrengthenthesenseofdinarypartymembersparticipatinginconsciousnessunityconsciousness.Freasonsknownmembersofgrassrootsparty

7、brancheslessmobilelessresourcestheconstructionofpartyganizationshavesomelag.Twostudiesistofocusonthegrassrootspartybranches“l(fā)oosesoftloose“problemadvancethepartymemberscadres“agangwking““HongKongrept.“Strongcleanupaction

8、sstyleramblingpresumptuous“unqualified“partymemberspaysspecialattentiontopartymemberscadres“joiningpartyofthought“problem.“Partybuilding“isobtainedinthelongtermdevelopmentofourpartyshisticalexperienceaccumulated.Twoisour

9、partyunderthenewhisticalconditionsstrengthenthepartysconstructionofanew“rectificationmovement.“Grassrootspartyganizationsshouldalwayscatchthehardwkresultsiented.Twoeducationaloutcomesarelongtermientedbecomeanimptantimpet

10、usfthewk.“Two“shouldhavethreekindsofconsciousness“two“studyeducationbasiclearningliesinthedoing.OnlytheConstitutionaddresstheseriesofpartyrulesdosolidwkbequalifiedpartymembershadasolidideologicalbasis.Onlythe“l(fā)earning““d

11、o“realunitytofma“l(fā)earnlearndodo“thevirtuouscycleultimatelyachievethefundamentalobjectiveofeducation.Thisrequiresthattheganizationlearningeducationneedthreekindsofconsciousness:oneistoestablishanintegratedawareness.“Learn

12、ing““do“whatcarisTwowheelbirdwingsneedtogohinhoneendcanbeneglected.Communisttheeticianman.Onlybycloselycombiningtheypracticetogetherindertotrulyrealizetheirvalue.“Learning“istheFoundationtheFoundationisnotstrongshaking““

13、Isthekeytotothoussofaccounts.“Two“education““l(fā)aythebasisgoingto“do“thekeygripsothatthe“l(fā)earning““doing“backtostardsothatthemajityofpartymembers“l(fā)earn“l(fā)earningtheyofnutrientsinthe“doing“practicepartyspurposes.Secondtoesta

14、blishasenseofdepth.“Learning““do“notChudrawnentirelydifferentbuttheganicunityofthewhole.“Two“l(fā)earningeducationweneedtoexpleintegrating“l(fā)earning“in“do“exhibit“do“in“Science“.Toavoidthe“l(fā)earning“intosimpleroominstruction“d

15、o“intoamonotonefdoing.Shouldexplation“l(fā)earn“inthehas“do““do“inthehas“l(fā)earn“ofeducationpracticeofcarriermakesgeneralgrassrootsmemberscanin“l(fā)earn“inthehas“do“ofachievementssensein“do“inthehas“l(fā)earn“ofgetsenserealmakesparty

16、oftheybrainintoheartputfpeopleserviceconceptoutsideofYushaped.Thirdtoadheretolongtermtheawareness.Styleconstructionontheroadfever“two“hadtocatchthelongterm.“Two“studyeducationbynomeansassaultstylewindsptbuttherecurrented

17、ucationwithintheparty.Inrecentyearsthepartysmasslineeducationpractice“threethree“specialeducationingrassrootsbnerichfruitsvastnumbersofpartymemberscadreswithstoodthebaptismofthespirit.“Two“greaterneedtofocusonlongerholdl

18、ongtermtoestablishperfecttheeffectivemechanismoftheeducationfocusingonthecreationoflongtermeducationstrivetomakethevastnumberofpartymemberstomaintaintheirvanguardColmaintainthepartysadvancednaturepurity.Awarenessraisinga

19、ntennasatmosphere–adiscussiononhowleadingcadresofpartymembers“two“current“two“activityisinfullswingupdownthecountrypartycadresasa“keyminity“isbothabarometerimpetus.The“two“meaningenoughdeepistodeterminethepartycadrescanr

20、esolvetostudyhardfirst.Inthe“two“intheprocesssomecadresofhimselfstinglonghighawarenessthatConstitutionPartyrulesissimpleitsnotwthbotheringsomepartycadresthinkspeakserieshasnothingtodowiththegrassrootswkwaterbusinesslearn

21、ingseriesofspeechesseenaswindowdressing.These“l(fā)azycasualdecadent“ideaslearninglacksmotivationaseriousimpedimentto“two“effect.JohnStuartMilloncesaidonlyabasicelementofhumanthoughtpatternschangedramaticallyhumandestinycanm

22、akegreatimprovement.ThesameonlypartymembersC程序設(shè)計編程題庫程序設(shè)計編程題庫順序結(jié)構(gòu)編程順序結(jié)構(gòu)編程1.輸入兩個整數(shù)輸入兩個整數(shù)A和B,將它們交換(即,將它們交換(即A的值給的值給B,B的值給的值給A)后輸出)后輸出A和B。2.輸入三個整數(shù)輸入三個整數(shù)A、B和C,將它們交換(即,將它們交換(即A的值給的值給B,B的值給的值給C,C的值給的值給A)后輸出)后輸出A、B和C。3.輸入輸入1個三位正

23、整數(shù)個三位正整數(shù)N,輸出其個位、十位和百位。,輸出其個位、十位和百位。4.輸入一個英文字符,輸出其輸入一個英文字符,輸出其II碼。碼。分支結(jié)構(gòu)(分支結(jié)構(gòu)(IF):):1.輸入一個正整數(shù),判斷是奇數(shù)或偶數(shù)、負(fù)數(shù)或非負(fù)數(shù)。輸入一個正整數(shù),判斷是奇數(shù)或偶數(shù)、負(fù)數(shù)或非負(fù)數(shù)。2.輸入一個輸入一個11000之間的數(shù),判斷是幾位數(shù)。之間的數(shù),判斷是幾位數(shù)。3.輸入一個字符,判斷是大寫字母、小寫字母、數(shù)字或其他。輸入一個字符,判斷是大寫字母、小寫字母、

24、數(shù)字或其他。4.輸入一個年份,判斷是否為閏年。輸入一個年份,判斷是否為閏年。(凡是能被(凡是能被400整除的年份為閏年。如整除的年份為閏年。如2000年;凡是不能被年;凡是不能被100整除,但能被整除,但能被4整除的年份為閏年。如整除的年份為閏年。如2008年)年)5.已知三角形三條邊的長度,求三角形的面積。已知三角形三條邊的長度,求三角形的面積。6.已知一元二次方程的三個系數(shù),求方程的根。已知一元二次方程的三個系數(shù),求方程的根。7.輸

25、入三個整數(shù),分別賦給輸入三個整數(shù),分別賦給X、Y、Z,然后按從小到大的順序輸出這三個變,然后按從小到大的順序輸出這三個變量的值。量的值。8.輸入一個三位數(shù),判斷其是否為輸入一個三位數(shù),判斷其是否為水仙花數(shù)水仙花數(shù)。如。如153,因為,因為153=135333分支結(jié)構(gòu)(分支結(jié)構(gòu)(switch):):1.輸入一個輸入一個1至7之間的數(shù)字,輸出星期日至星期六。之間的數(shù)字,輸出星期日至星期六。#includeLearnGeneralSecret

26、aryon“twotolearna“strengthening“fourConsciousnesses“imptantspeechcausedastrongreactioninthecountry.Timewatching“redtreasure“theiginofbuildingthepartybacktopowerhowtostrengthenservicesfthemassesimprovepartycohesionfightin

27、gtobecomethegrassrootspartymembersmasseshottopic.Grassrootspartyganizations“two“istostrengthentheserviceofpartymemberscadresthepioneerspirit.Distributionofgrassrootspartyganizationsinallwalksofpeopleclothingshelterwhichb

28、elongstothenerveendingsofthepartyganizationcommentsreputationhasadirectperceptionofthemasses.Strengthenthepartyaheadofthe“pedal“spiritstrengthenthepartymemberscadres“successdoesnothavetobeme““thefirsttobearhardshipsthela

29、stto“servicespirittosetthepartyspositiveimageamongthepeopleisimptant.Grassrootspartyganizations“two“istocleanseallpeoplenothappynottosee“stereotypes“establishthehonestfaithfuldiligentfaithfthepeople.Noneedtoavoidmentioni

30、ngthatsomemembersofourpartycannotstthe“money“crosionoftemptationthinXuZhousuchabusecruptbriberymalfeasancebersrats.TwoistocleanupthinXuZhoussolutiontorestethepartysfreshnaturalsolidhonestwkstyle.Cleansing“takeeatcard“und

31、esirablebehaviour“crosshardcoldpush“attitude.Grassrootspartyganizations“two“istostrengthenthesenseofdinarypartymembersparticipatinginconsciousnessunityconsciousness.Freasonsknownmembersofgrassrootspartybrancheslessmobile

32、lessresourcestheconstructionofpartyganizationshavesomelag.Twostudiesistofocusonthegrassrootspartybranches“l(fā)oosesoftloose“problemadvancethepartymemberscadres“agangwking““HongKongrept.“Strongcleanupactionsstyleramblingpres

33、umptuous“unqualified“partymemberspaysspecialattentiontopartymemberscadres“joiningpartyofthought“problem.“Partybuilding“isobtainedinthelongtermdevelopmentofourpartyshisticalexperienceaccumulated.Twoisourpartyunderthenewhi

34、sticalconditionsstrengthenthepartysconstructionofanew“rectificationmovement.“Grassrootspartyganizationsshouldalwayscatchthehardwkresultsiented.Twoeducationaloutcomesarelongtermientedbecomeanimptantimpetusfthewk.“Two“shou

35、ldhavethreekindsofconsciousness“two“studyeducationbasiclearningliesinthedoing.OnlytheConstitutionaddresstheseriesofpartyrulesdosolidwkbequalifiedpartymembershadasolidideologicalbasis.Onlythe“l(fā)earning““do“realunitytofma“l(fā)

36、earnlearndodo“thevirtuouscycleultimatelyachievethefundamentalobjectiveofeducation.Thisrequiresthattheganizationlearningeducationneedthreekindsofconsciousness:oneistoestablishanintegratedawareness.“Learning““do“whatcarisT

37、wowheelbirdwingsneedtogohinhoneendcanbeneglected.Communisttheeticianman.Onlybycloselycombiningtheypracticetogetherindertotrulyrealizetheirvalue.“Learning“istheFoundationtheFoundationisnotstrongshaking““Isthekeytotothouss

38、ofaccounts.“Two“education““l(fā)aythebasisgoingto“do“thekeygripsothatthe“l(fā)earning““doing“backtostardsothatthemajityofpartymembers“l(fā)earn“l(fā)earningtheyofnutrientsinthe“doing“practicepartyspurposes.Secondtoestablishasenseofdepth

39、.“Learning““do“notChudrawnentirelydifferentbuttheganicunityofthewhole.“Two“l(fā)earningeducationweneedtoexpleintegrating“l(fā)earning“in“do“exhibit“do“in“Science“.Toavoidthe“l(fā)earning“intosimpleroominstruction“do“intoamonotonefdo

40、ing.Shouldexplation“l(fā)earn“inthehas“do““do“inthehas“l(fā)earn“ofeducationpracticeofcarriermakesgeneralgrassrootsmemberscanin“l(fā)earn“inthehas“do“ofachievementssensein“do“inthehas“l(fā)earn“ofgetsenserealmakespartyoftheybrainintohea

41、rtputfpeopleserviceconceptoutsideofYushaped.Thirdtoadheretolongtermtheawareness.Styleconstructionontheroadfever“two“hadtocatchthelongterm.“Two“studyeducationbynomeansassaultstylewindsptbuttherecurrenteducationwithinthepa

42、rty.Inrecentyearsthepartysmasslineeducationpractice“threethree“specialeducationingrassrootsbnerichfruitsvastnumbersofpartymemberscadreswithstoodthebaptismofthespirit.“Two“greaterneedtofocusonlongerholdlongtermtoestablish

43、perfecttheeffectivemechanismoftheeducationfocusingonthecreationoflongtermeducationstrivetomakethevastnumberofpartymemberstomaintaintheirvanguardColmaintainthepartysadvancednaturepurity.Awarenessraisingantennasatmosphere–

44、adiscussiononhowleadingcadresofpartymembers“two“current“two“activityisinfullswingupdownthecountrypartycadresasa“keyminity“isbothabarometerimpetus.The“two“meaningenoughdeepistodeterminethepartycadrescanresolvetostudyhardf

45、irst.Inthe“two“intheprocesssomecadresofhimselfstinglonghighawarenessthatConstitutionPartyrulesissimpleitsnotwthbotheringsomepartycadresthinkspeakserieshasnothingtodowiththegrassrootswkwaterbusinesslearningseriesofspeeche

46、sseenaswindowdressing.These“l(fā)azycasualdecadent“ideaslearninglacksmotivationaseriousimpedimentto“two“effect.JohnStuartMilloncesaidonlyabasicelementofhumanthoughtpatternschangedramaticallyhumandestinycanmakegreatimprovemen

47、t.Thesameonlypartymembers3.輸入輸入N,求,求N!=123…………N的值的值4.輸入自然數(shù)輸入自然數(shù)N,輸出,輸出N的位數(shù)。的位數(shù)。5.求滿足條件求滿足條件123…N的最小的最小N。7.輸入一個整數(shù),求它的各位數(shù)字之和。輸入一個整數(shù),求它的各位數(shù)字之和。(教科書例題)(教科書例題)8.采用歐幾里得算法,求兩個自然數(shù)的最大公約數(shù)。采用歐幾里得算法,求兩個自然數(shù)的最大公約數(shù)。(教科書例題)(教科書例題)9.求兩個自

48、然數(shù)的最小公倍數(shù)。求兩個自然數(shù)的最小公倍數(shù)。M與N的最小公倍數(shù)的最小公倍數(shù)=的最大公約數(shù)和NMNM10.輸入一行字符,統(tǒng)計大寫字母、小寫字母、數(shù)字及其它符號的個數(shù)(實驗輸入一行字符,統(tǒng)計大寫字母、小寫字母、數(shù)字及其它符號的個數(shù)(實驗15.3.3)11.用牛頓迭代法求方程用牛頓迭代法求方程2x34x23x6=0在1.5附近的根。附近的根。(教科書例題)(教科書例題)12.用二分法求方程用二分法求方程2x34x23x6=0在區(qū)間在區(qū)間[13

49、]上的根。上的根。13.用二分法求方程用二分法求方程x3x44x21=0在區(qū)間在區(qū)間[01]上的根。上的根。(實驗(實驗15.3.5)14.輸入輸入x,求,求(n=1,2,3,……),……),當(dāng)?shù)?,?dāng)?shù)趎項小于項小于????????!!3!232nxxxxyn等于等于106時,停止累加。時,停止累加。(實驗(實驗15.3.6)15.輸入一串字符文本,統(tǒng)計單詞的個數(shù)。單詞之間由輸入一串字符文本,統(tǒng)計單詞的個數(shù)。單詞之間由1個或多個空格隔開

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 眾賞文庫僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論