【正文】
for(n=2。j1000。 printf(please input a and n\n)。) space++。\n39。 num2=temp。:(score=60?39。 for(i=2。n1000。i++) if(m%i==0) { leap=0。 for(i=1。 ?。篿nclude include include main(){ int m,i,k,h=0,leap=1。例如:153是一個(gè)“水仙花數(shù)”,因?yàn)?53=1的三次方+5的三次方+3的三次方。(2)如果nk,但n能被k整除,則應(yīng)打印出k的值,并用n除以k的商,作為新的正整數(shù)你n, 重復(fù)執(zhí)行第一步。:include include main(){ int score。:include include main(){ int a,b,num1,num2,temp。}==============================================================【程序17】題目:輸入一行字符,分別統(tǒng)計(jì)出其中英文字母、空格、數(shù)字和其它字符的個(gè)數(shù)。amp。 } printf(all in all:char=%d space=%d digit=%d others=%d\n,letters, space,digit,others)。 } printf(a+aa+...=%ld\n,sn)。 for(i=0。} 。 k[n]=i。 a=a*10。) digit++。||c=39。 printf(gongbeishu:%d\n,num1*num2/a)。}==============================================================【程序16】題目:輸入兩個(gè)正整數(shù)m和n,求其最大公約數(shù)和最小公倍數(shù)。}==============================================================【程序15】題目