成績顯示三個部份abc #include<stdio.h> #include<stdlib.h> int main(void) { float gread printf("請輸入分數\n") scanf("%f",&gread) if(gread>=80&&gread<=100) printf("成績為A\n") else if(gread>=60&&gread<=79) { printf("成績為B\n") } else if(gread>=0&&gread<60) { printf("成績為C\n") } else { printf("分數輸入錯誤\n") } system("pause") return 0 }
標簽: include stdlib float gread
上傳時間: 2014-01-15
上傳用戶:waizhang
The literature of cryptography has a curious history. Secrecy, of course, has always played a central role, but until the First World War, important developments appeared in print in a more or less timely fashion and the field moved forward in much the same way as other specialized disciplines. As late as 1918, one of the most influential cryptanalytic papers of the twentieth century, William F. Friedman’s monograph The Index of Coincidence and Its Applications in Cryptography, appeared as a research report of the private Riverbank Laboratories [577]. And this, despite the fact that the work had been done as part of the war effort. In the same year Edward H. Hebern of Oakland, California filed the first patent for a rotor machine [710], the device destined to be a mainstay of military cryptography for nearly 50 years.
標簽: cryptography literature has Secrecy
上傳時間: 2016-12-08
上傳用戶:fxf126@126.com
function [U,center,result,w,obj_fcn]= fenlei(data) [data_n,in_n] = size(data) m= 2 % Exponent for U max_iter = 100 % Max. iteration min_impro =1e-5 % Min. improvement c=3 [center, U, obj_fcn] = fcm(data, c) for i=1:max_iter if F(U)>0.98 break else w_new=eye(in_n,in_n) center1=sum(center)/c a=center1(1)./center1 deta=center-center1(ones(c,1),:) w=sqrt(sum(deta.^2)).*a for j=1:in_n w_new(j,j)=w(j) end data1=data*w_new [center, U, obj_fcn] = fcm(data1, c) center=center./w(ones(c,1),:) obj_fcn=obj_fcn/sum(w.^2) end end display(i) result=zeros(1,data_n) U_=max(U) for i=1:data_n for j=1:c if U(j,i)==U_(i) result(i)=j continue end end end
標簽: data function Exponent obj_fcn
上傳時間: 2013-12-18
上傳用戶:ynzfm
made by: kangkai data:2008.11.23 this one is used to test arm7 str71x. use a led to test GPIO. a---------P0.0 b---------P0.1 c---------P0.2 d---------P0.3 e---------P0.4 f---------P0.5 g---------P0.6 just run it and you will see the led to show 0-9 all the time.
上傳時間: 2016-12-16
上傳用戶:moerwang
利用花指令擾亂Cracker,以達到保護軟件的作用。 本工具可以自定義花指令,有三種模式,如下: 1、隨機插入花指令 2、指定插入固定的花指令 3、全部插入花指令 使用方法: 1、請自行在 JunkData.mdb 數據庫中添加花指令 2、在您要放花指令的地方寫:{$F Junk} 3、{$F Junk} 為花指令標記 4、用本工具處理后,重新編譯即可。
上傳時間: 2013-12-27
上傳用戶:Altman
7279鍵盤程序 設0--9數字鍵,A--F功能鍵 開機時在最高位顯示‘P’ 第一次按數字鍵在最高位顯示數據,第2次按數字鍵在最次位顯示數據,。。。。。。第8次按數字鍵在最低位顯示數據 第9次按數字鍵在最高位顯示數據。。。。。。按任意功能鍵則系統回到初始狀態。
上傳時間: 2016-12-23
上傳用戶:784533221
java中大部分對圖形、文本、圖像的操作方法都定義在Graphics類中,所以此次實驗使用的方法如Color(int r, int g,int b), setColor(Color c),drawline(int x1,int y1,int x2,int y2)等都來自Graphics類中,此外對文本和字體的處理還用到了Font類中的 new Font(“字體名”,字體風格,字體大小),setFont(Font f)等方法;
上傳時間: 2013-11-29
上傳用戶:yimoney
實驗題目:Hermite插值多項式 相關知識:通過n+1個節點的次數不超過2n+1的Hermite插值多項式為: 其中,Hermite插值基函數 數據結構:三個一維數組或一個二維數組 算法設計:(略) 編寫代碼:(略) 實驗用例: 已知函數y=f(x)的一張表(其中 ): x 0.10 0.20 0.30 0.40 0.50 y 0.904837 0.818731 0.740818 0.670320 0.606531 m -0.904837 -0.818731 -0.740818 -0.670320 -0.606531 x 0.60 0.70 0.80 0.90 1.00 y 0.548812 0.496585 0.449329 0.406570 0.367879 m -0.548812 -0.496585 -0.449329 -0.406570 -0.367879 實驗用例:利用Hermite插值多項式 求被插值函數f(x)在點x=0.55處的近似值。建議:畫出Hermite插值多項式 的曲線。
上傳時間: 2013-12-24
上傳用戶:czl10052678
利用QuartusII的"MegaWizard Plug-In Manager", 設計輸入數據寬度是4bit的ADD、SUB、MULT、DIVIDE、COMPARE 把它們作為一個project,DEVICE選用EPF10K70RC240-4,對它們進行 時序仿真,將仿真波形(輸入輸出選用group)在一頁紙上打印出來。 2.利用QuartusII的"MegaWizard Plug-In Manager"中的LPM_COUNTER, 設計一個20bit的up_only COUNTER, 要求該COUNTER在FE0FA和FFFFF之間自動循環計數; 分析該COUNTER在EPM7128SLC84-7、EPM7128SLC84-10、和EPF10K70RC240-2、 EPF10K70RC240-4幾種芯片中的最大工作頻率; 請將計數器的輸出值在FFFFC--FE0FF之間的仿真波形打印出來 (僅EPF10K70RC240-4芯片,最大允許Clock頻率下)。
標簽: MegaWizard QuartusII Manager COMPARE
上傳時間: 2016-12-26
上傳用戶:王者A
TAXCounter,Counter
標簽: TAXCounter
上傳時間: 2014-01-17
上傳用戶:a673761058