溫度華氏轉(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
指定一個數(shù)字轉(zhuǎn)換回十進(jìn)位,八進(jìn)位,十六進(jìn)位#include <stdio.h> #include <stdlib.h> int main(void) { int number =89 printf("數(shù)字 %d\n",number) /* %d 為十進(jìn)位輸出格式*/ printf("八進(jìn)位為 %o\n",number) /* %o 為八進(jìn)位輸出格式*/ printf("十六進(jìn)位為%x\n",number) /* %x 為十六進(jìn)位輸出格式*/ system("pause") return 0 }
標(biāo)簽: include int stdlib stdio
上傳時間: 2013-11-29
上傳用戶:tyler
是個能做復(fù)立葉轉(zhuǎn)換並將矩陣轉(zhuǎn)換成實(shí)部和虛部的部份~相當(dāng)?shù)姆奖?/p>
標(biāo)簽:
上傳時間: 2016-12-09
上傳用戶:xhz1993
把flash的代碼搬移到Dram的0xc
上傳時間: 2014-01-02
上傳用戶:wxhwjf
我自己寫的RGB與YCbCr(YUV)色彩格式轉(zhuǎn)換,可以RGB轉(zhuǎn)YCbCr或YCbCr轉(zhuǎn)RGB,並支持顯示轉(zhuǎn)換後的色彩功能.
上傳時間: 2014-01-14
上傳用戶:edisonfather
sqlite數(shù)據(jù)庫的源代碼, 例子是在windows上使用,不過可以移值到各種平臺上使用
標(biāo)簽: windows sqlite 數(shù)據(jù)庫 源代碼
上傳時間: 2014-12-04
上傳用戶:coeus
實(shí)現(xiàn)了頻移鍵控 相移鍵控 幅度鍵控等多種數(shù)字調(diào)制的matlab仿真
上傳時間: 2014-01-15
上傳用戶:siguazgb
以C語言來實(shí)現(xiàn)DPSK(差分頻移鍵控)的調(diào)制與解調(diào)
上傳時間: 2013-12-27
上傳用戶:wsf950131
將外掛網(wǎng)路驗(yàn)證擷取封包並破解轉(zhuǎn)本地驗(yàn)證工具
標(biāo)簽: 破解
上傳時間: 2016-12-26
上傳用戶:semi1981
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1