溫度華氏轉(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
上傳時(shí)間: 2013-12-12
上傳用戶:亞亞娟娟123
Problem B:Longest Ordered Subsequence A numeric sequence of ai is ordered if a1 < a2 < ... < aN. Let the subsequence of the given numeric sequence (a1, a2, ..., aN) be any sequence (ai1, ai2, ..., aiK), where 1 <= i1 < i2 < ... < iK <= N. For example, sequence (1, 7, 3, 5, 9, 4, 8) has ordered subsequences, e. g., (1, 7), (3, 4, 8) and many others. All longest ordered subsequences are of length 4, e. g., (1, 3, 5, 8).
標(biāo)簽: Subsequence sequence Problem Longest
上傳時(shí)間: 2016-12-08
上傳用戶:busterman
A、B、C、D、E五人合伙夜間捕魚,凌晨時(shí)都疲憊不堪,各自在河邊的樹叢中找地方睡著了,日上三竿,A第一個(gè)醒來,他將魚平分作五份,把多余的一條扔回湖中,拿自己的一份回家去了,B第二個(gè)醒來,也將魚平分為五份,扔掉多余的一條,只拿走自己的一份,接著C、D、E依次醒來,也都按同樣的辦法分魚。問五人至少合伙捕到多少條魚?每個(gè)人醒來后看到的魚數(shù)是多少條?
標(biāo)簽: 捕魚
上傳時(shí)間: 2016-12-22
上傳用戶:familiarsmile
C語言是在 70年代初問世的。一九七八年由美國電話電報(bào)公司(AT&T)貝爾實(shí)驗(yàn)室正式 發(fā)表了C 語言。同時(shí)由B.W.Kernighan和 D.M.Ritchit合著了著名的“THE C PROGRAMMING LANGUAGE”一書。通常簡稱為《K&R》,也有人稱之為《K&R》標(biāo)準(zhǔn)。但是,在《K&R》中并 沒有定義一個(gè)完整的標(biāo)準(zhǔn)C語言,后來由美國國家標(biāo)準(zhǔn)學(xué)會(huì)在此基礎(chǔ)上制定了一個(gè)C 語言 標(biāo)準(zhǔn),于一九八三年發(fā)表。通常稱之為ANSI C。 當(dāng)代最優(yōu)秀的程序設(shè)計(jì)語言
標(biāo)簽: Kernighan Ritchit PROGRA THE
上傳時(shí)間: 2016-12-23
上傳用戶:chens000
C++ Primer, Fourth Edition By Stanley B. Lippman, Josée Lajoie, Barbara E. Moo Englisht version
標(biāo)簽: B. E. Englisht Edition
上傳時(shí)間: 2014-11-30
上傳用戶:h886166
基于U S B和L a b V IE W的 E C U自動(dòng)檢測系統(tǒng)的設(shè)計(jì)
標(biāo)簽: IE 自動(dòng)檢測系統(tǒng)
上傳時(shí)間: 2014-01-26
上傳用戶:as275944189
OA系統(tǒng)實(shí)現(xiàn)以下功能: a、個(gè)人辦公,我的辦公桌 b、公文管理 c、工作流程 d、組織管理 e. 權(quán)限管理
標(biāo)簽: e. OA系統(tǒng) 工作流程 權(quán)限管理
上傳時(shí)間: 2013-12-16
上傳用戶:zhenyushaw
該程序用以查找任意兩個(gè)整數(shù)之間的所有素?cái)?shù)。 Prime number finder can find all primes between a and b and will write the results to the file PRIMES.TXT
標(biāo)簽: and between number finder
上傳時(shí)間: 2014-01-14
上傳用戶:cccole0605
CDMA mobile radio design Jon B. Groe Lawrence E. Larson
標(biāo)簽: B. E. Lawrence mobile
上傳時(shí)間: 2017-03-31
上傳用戶:lz4v4
建立b樣條函數(shù)基函數(shù)的程序! 這是從the nurbs book 翻譯過來的版本!
標(biāo)簽: nurbs book the 函數(shù)
上傳時(shí)間: 2013-12-24
上傳用戶:yyyyyyyyyy
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1