溫度華氏轉(zhuǎn)變攝氏 #include <stdio.h> #include <stdlib.h> enum x {A,B,C,D,E} int main(void) { int a=73,b=85,c=66 { if (a>=90) printf("a=A等級!!\n") else if (a>=80) printf("73分=B等級!!\n") else if (a>=70) printf("73分=C等級!!\n") else if (a>=60) printf("73分=D等級!!\n") else if (a<60) printf("73分=E等級!!\n") } { if (b>=90) printf("b=A等級!!\n") else if (b>=80) printf("85分=B等級!!\n") else if (b>=70) printf("85分=C等級!!\n") else if (b>=60) printf("85分=D等級!!\n") else if (b<60) printf("85分=E等級!!\n") } { if (c>=90) printf("c=A等級!!\n") else if (c>=80) printf("66分=B等級!!\n") else if (c>=70) printf("66分=C等級!!\n") else if (c>=60) printf("66分=D等級!!\n") else if (c<60) printf("66分=E等級!!\n") } system("pause") return 0 }
標(biāo)簽: include stdlib stdio gt
上傳時間: 2014-11-10
上傳用戶:wpwpwlxwlx
溫度華氏轉(zhuǎn)變攝氏 #include <stdio.h> #include <stdlib.h> enum x {A,B,C,D,E} int main(void) { int a=73,b=85,c=66 { if (a>=90) printf("a=A等級!!\n") else if (a>=80) printf("73分=B等級!!\n") else if (a>=70) printf("73分=C等級!!\n") else if (a>=60) printf("73分=D等級!!\n") else if (a<60) printf("73分=E等級!!\n") } { if (b>=90) printf("b=A等級!!\n") else if (b>=80) printf("85分=B等級!!\n") else if (b>=70) printf("85分=C等級!!\n") else if (b>=60) printf("85分=D等級!!\n") else if (b<60) printf("85分=E等級!!\n") } { if (c>=90) printf("c=A等級!!\n") else if (c>=80) printf("66分=B等級!!\n") else if (c>=70) printf("66分=C等級!!\n") else if (c>=60) printf("66分=D等級!!\n") else if (c<60) printf("66分=E等級!!\n") } system("pause") return 0 }
標(biāo)簽: include stdlib stdio gt
上傳時間: 2013-12-12
上傳用戶:亞亞娟娟123
兩臺處理機(jī)A 和B處理n個作業(yè)。設(shè)第i個作業(yè)交給機(jī)器 A 處理時需要時間ai,若由機(jī)器B 來處理,則需要時間bi。由于各作 業(yè)的特點(diǎn)和機(jī)器的性能關(guān)系,很可能對于某些i,有ai >=bi,而對于 某些j,j!=i,有aj<bj。既不能將一個作業(yè)分開由兩臺機(jī)器處理,也沒 有一臺機(jī)器能同時處理2 個作業(yè)。設(shè)計一個動態(tài)規(guī)劃算法,使得這兩 臺機(jī)器處理完成這n 個作業(yè)的時間最短(從任何一臺機(jī)器開工到最后 一臺機(jī)器停工的總時間)。研究一個實(shí)例:(a1,a2,a3,a4,a5,a6)= (2,5,7,10,5,2);(b1,b2,b3,b4,b5,b6)=(3,8,4,11,3,4)
上傳時間: 2014-01-14
上傳用戶:獨(dú)孤求源
編程求N<=100時,N!的準(zhǔn)確值,用C語言實(shí)現(xiàn)的算法實(shí)驗(yàn)
上傳時間: 2013-12-21
上傳用戶:13188549192
neural network utility is a Neural Networks library for the C++ Programmer. It is entirely object oriented and focuses on reducing tedious and confusing problems of programming neural networks. By this I mean that network layers are easily defined. An entire multi-layer network can be created in a few lines, and trained with two functions. Layers can be connected to one another easily and painlessly.
標(biāo)簽: Programmer Networks entirely network
上傳時間: 2013-12-24
上傳用戶:liuchee
C++源代碼,遞歸實(shí)現(xiàn)。原問題描述:鼓上蚤時遷到一個山洞里去盜寶,里面有n件寶貝,價值分別是a1,a2......an,并且滿足ai大于a1+a2+....+a(i-1)的和。他身上有一個背包,能裝的東西最大價值是K,他只能進(jìn)洞一次,請問他最多能帶出多少? 要求:輸入K,n,a1,a2......an 輸出:他能最多帶出的寶物價值
標(biāo)簽: 源代碼
上傳時間: 2013-12-05
上傳用戶:z754970244
最小二乘擬合算法C程序,N為擬合點(diǎn)數(shù),T為擬合階數(shù)。
上傳時間: 2016-12-30
上傳用戶:頂?shù)弥?/p>
IIC C語言程序,只要重新定義引腳就可以實(shí)現(xiàn)I/O模擬IIC讀寫,驗(yàn)證過可以穩(wěn)定的讀寫
上傳時間: 2017-01-01
上傳用戶:無聊來刷下
用keil c對絕對地址的訪問,此例是對外部 i/o操作的的程序?qū)^對地址的訪問有滴一定幫助
上傳時間: 2017-01-06
上傳用戶:SimonQQ
n algorithm for domain independent linear text segmentation This the Windows version of the C99 algorithm that was presented in my NAACL00 paper. [Directories] bin contains executables, JAR file and test files classes compiled code as individual class files doc NAACL 00 paper describing the algorithm src source code for C
標(biāo)簽: segmentation independent algorithm the
上傳時間: 2017-01-07
上傳用戶:ghostparker
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1