學生成績查詢系統,運用結構體,struct ,sort ,Clrscr(),textcolor()函數,用for()循環語句,switch和ifelse作為條件測試語句。 程序實現了學生成績查詢功能,有20個我們班學生的數據信息,每個包含: 學號 — num [10](字符串)、姓名(拼音)— name[25](字符串)、 性別 — sex(字符,M或W)、年齡 — age(整型)、 三門課程成績(高數、英語、計算機)— score [3 ](單精度)。設計一個系統: 定義及輸出。用結構體類型數據及其賦初值的方法把學生的數據送到結構體數組中(第一個數據用自己的真實數據,其它數據自定,但注意要是合法數據),然后把它們輸出顯示;計算并排序。計算每個學生三門課程的總分(sum,單精度)及平均分(aver,單精度,輸出一位小數),還有他們成績的排名,將包括所有數據的結構體數組元素按總分從大到小的順序排序打印出來; 運行程序,進入主界面!可輸入1—輸出所有學生的成績,輸入2—計算和排列學生的成績,輸入3—查詢學生個人成績,輸入4—退出查詢。 在進行學生個人成績個人查詢可以實現多次查詢——進入學生個人查詢,輸入1回車實現多次查詢。 運行環境為TURBOC ,WINDOWSXP。
標簽: 成績查詢系統
上傳時間: 2014-01-01
上傳用戶:cx111111
Stanford University大學教授,Ng近年來的11篇論文,主要研究方向為估測圖像中物深度信息。
標簽: University Stanford 大學
上傳時間: 2014-01-26
上傳用戶:yph853211
程式描述:使用Cypress的Cy7C68013A晶片進行設計,實現USB鍵盤輸入的功能。 安裝:把來源程式碼複製到硬碟特定目錄下,使用Keil C編譯器運行即可。 注意:可以首先使用Cypress的測試工具進行韌體程式的測試,以確保韌體程式的正確性。
標簽: Cypress 68013A C68013 68013
上傳時間: 2017-02-10
上傳用戶:ecooo
SENTINEL 的加密狗lic生成工具方法如下 1.copy a870.sentinel to windows\system32 folder. 2.run Emulator Utility and then press install button and close the utility. 3.run wechoid.exe, selector must be 1e or 1c 4.then run LicGen and use selector and code from wechoid.exe w/o 0x, it will make a license for that pc
標簽: windowssystem SENTINEL Emulator sentinel
上傳時間: 2017-02-10
上傳用戶:498732662
random number generator,隨機數產生器,可以產生均勻分布的隨機數,有Mersenne twister, RANROT-B,RANROT-W, Mother-of-all等
標簽: generator random number 隨機數
上傳時間: 2017-02-16
上傳用戶:hphh
//--- --- --- - 音樂簡譜播放器--- --- --- - /*奏樂程序使用說明 調用方式: sing fname [speed [times]] 文件名 速度(拍/分) 遍數 簡譜文件格式: 第1行: 曲名 節拍 調號 第2行-- 樂譜 (空格,換行無意義,但不得插在一個"音描述"內部) 記號: * 節拍,調號,小節分隔符,終止符,升音符,中音音高,休止符,附點,延長 符等 -- 按照常規. * 音描述 -- [3連音符][升降還原符]音高[高低音后綴][音長][附點][延長符] * 3連音符 -- ^ 只標在第1音前,音長只標在第3音后 (3連音的實際總音長為所標音長的兩倍,例如:^323 的總音長為1拍) * 降音符 -- @ * 還原符 -- $ * 高低音后綴 -- H(高音) U(高16度音) 連用音程相加 L(低音) W(低16度音) * 音長 -- 無(1拍) (1/2拍) "(1/4拍) 連用為相乘*/
上傳時間: 2014-11-28
上傳用戶:hj_18
SuperLU is a general purpose library for the direct solution of large, sparse, nonsymmetric systems of linear equations on high performance machines. The library is written in C and is callable from either C or Fortran. The library routines will perform an LU decomposition with partial pivoting and triangular system solves through forward and back substitution. The LU factorization routines can handle non-square matrices but the triangular solves are performed only for square matrices. The matrix columns may be preordered (before factorization) either through library or user supplied routines. This preordering for sparsity is completely separate from the factorization. Working precision iterative refinement subroutines are provided for improved backward stability. Routines are also provided to equilibrate the system, estimate the condition number, calculate the relative backward error, and estimate error bounds for the refined solutions.
標簽: nonsymmetric solution SuperLU general
上傳時間: 2017-02-20
上傳用戶:lepoke
復接入,B/W雙用戶使用直接擴頻序列 % >>>multiple access b/w 2 users using DS CDMA % >>>format is : cdmamodem(user1,user2,snr_in_dbs) % >>>user1 and user2 are vectors and they should be of equal length % >>>e.g. user1=[1 0 1 0 1 0 1] , user2=[1 1 0 0 0 1 1],snr_in_dbs=-50 % >>>or snr_in_dbs=50 just any number wud do % Waqas Mansoor % NUST , Pakistan
標簽:
上傳時間: 2014-11-22
上傳用戶:zl5712176
cc2430的濕度測試程式,可從串口看到傳回的值
上傳時間: 2013-12-09
上傳用戶:silenthink
cc2430讀取短地址程式,可從串口看到傳回的值
上傳時間: 2017-03-04
上傳用戶:cainaifa