數(shù)據(jù)加密程序 p macro buf lea dx,buf mov ah,9 Int 21h endm data segment pp db 0dh,0ah, welcome you to run this programme!$ qq db 0dh,0ah, when you input number,press enter.$ qw db 0dh,0ah, 6eh,52h,94h,52h,$ qa db 0dh,0ah, $ info1 db 0dh,0ah,0dh, input number:$ info2 db 0dh,0ah, output number:$ bufa db 20
標(biāo)簽: buf segment welcome macro
上傳時(shí)間: 2013-12-24
上傳用戶:離殤
多通道AD轉(zhuǎn)換演示程序 MCU:MEGA8 晶振:內(nèi)部RC(Int) 8MHZ
上傳時(shí)間: 2014-11-26
上傳用戶:luke5347
Methods void close() Int read() reads and returns a chracter. Int read(char[] characterArray) populates an array of characters with data. boolean ready() - returns “true” if there is data available. ……
標(biāo)簽: read characterArray Int chracter
上傳時(shí)間: 2013-12-18
上傳用戶:小儒尼尼奧
溫度華氏轉(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等級(jí)!!\n") else if (a>=80) prIntf("73分=B等級(jí)!!\n") else if (a>=70) prIntf("73分=C等級(jí)!!\n") else if (a>=60) prIntf("73分=D等級(jí)!!\n") else if (a<60) prIntf("73分=E等級(jí)!!\n") } { if (b>=90) prIntf("b=A等級(jí)!!\n") else if (b>=80) prIntf("85分=B等級(jí)!!\n") else if (b>=70) prIntf("85分=C等級(jí)!!\n") else if (b>=60) prIntf("85分=D等級(jí)!!\n") else if (b<60) prIntf("85分=E等級(jí)!!\n") } { if (c>=90) prIntf("c=A等級(jí)!!\n") else if (c>=80) prIntf("66分=B等級(jí)!!\n") else if (c>=70) prIntf("66分=C等級(jí)!!\n") else if (c>=60) prIntf("66分=D等級(jí)!!\n") else if (c<60) prIntf("66分=E等級(jí)!!\n") } system("pause") return 0 }
標(biāo)簽: include stdlib stdio gt
上傳時(shí)間: 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等級(jí)!!\n") else if (a>=80) prIntf("73分=B等級(jí)!!\n") else if (a>=70) prIntf("73分=C等級(jí)!!\n") else if (a>=60) prIntf("73分=D等級(jí)!!\n") else if (a<60) prIntf("73分=E等級(jí)!!\n") } { if (b>=90) prIntf("b=A等級(jí)!!\n") else if (b>=80) prIntf("85分=B等級(jí)!!\n") else if (b>=70) prIntf("85分=C等級(jí)!!\n") else if (b>=60) prIntf("85分=D等級(jí)!!\n") else if (b<60) prIntf("85分=E等級(jí)!!\n") } { if (c>=90) prIntf("c=A等級(jí)!!\n") else if (c>=80) prIntf("66分=B等級(jí)!!\n") else if (c>=70) prIntf("66分=C等級(jí)!!\n") else if (c>=60) prIntf("66分=D等級(jí)!!\n") else if (c<60) prIntf("66分=E等級(jí)!!\n") } system("pause") return 0 }
標(biāo)簽: include stdlib stdio gt
上傳時(shí)間: 2013-12-12
上傳用戶:亞亞娟娟123
成績(jī)顯示三個(gè)部份abc #include<stdio.h> #include<stdlib.h> Int main(void) { float gread prIntf("請(qǐng)輸入分?jǐn)?shù)\n") scanf("%f",&gread) if(gread>=80&&gread<=100) prIntf("成績(jī)?yōu)锳\n") else if(gread>=60&&gread<=79) { prIntf("成績(jī)?yōu)锽\n") } else if(gread>=0&&gread<60) { prIntf("成績(jī)?yōu)镃\n") } else { prIntf("分?jǐn)?shù)輸入錯(cuò)誤\n") } system("pause") return 0 }
標(biāo)簽: include stdlib float gread
上傳時(shí)間: 2014-01-15
上傳用戶:waizhang
河內(nèi)塔問題 #include<stdio.h> #include<stdlib.h> Int fun_a(Int) void fun_b(Int,Int,Int,Int) Int main(void) { Int n Int option prIntf("題目二:河內(nèi)塔問題\n") prIntf("請(qǐng)輸入要搬移的圓盤數(shù)目\n") scanf("%d",&n) prIntf("最少搬移的次數(shù)為%d次\n",fun_a(n)) prIntf("是否顯示移動(dòng)過程? 是請(qǐng)輸入1,否則輸入0\n") scanf("%d",&option) if(option==1) { fun_b(n,1,2,3) } system("pause") return 0 } Int fun_a(Int n) { Int sum1=2,sum2=0,i for(i=n i>1 i--) { sum1=sum1*2 } sum2=sum1-1 return sum2 } void fun_b(Int n,Int left,Int mid,Int right) { if(n==1) prIntf("把第%d個(gè)盤子從第%d座塔移動(dòng)到第%d座塔\n",n,left,right) else { fun_b(n-1,left,right,mid) prIntf("把第%d個(gè)盤子從第%d座塔移動(dòng)到第%d座塔\n",n,left,right) fun_b(n-1,mid,left,right) } }
標(biāo)簽: Int include stdlib fun_a
上傳時(shí)間: 2016-12-08
上傳用戶:努力努力再努力
指定一個(gè)數(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
上傳時(shí)間: 2013-11-29
上傳用戶:tyler
對(duì)double型的向Int型轉(zhuǎn)換的出錯(cuò)問題的校正
標(biāo)簽: double Int 轉(zhuǎn)換 校正
上傳時(shí)間: 2014-01-10
上傳用戶:秦莞爾w
編寫具有如下原型的函數(shù):Int f(unsigned long x, Int n, Int& Lxn) 它負(fù)責(zé)將整數(shù)x的第n位(從左邊數(shù)第n位,n>0)的數(shù)值放到引用Lxn之中(將作為結(jié)果返回到主調(diào)函數(shù)的對(duì)應(yīng)實(shí)參變量中),并將倒數(shù)第n位(從右邊數(shù)第n位,n>0)的數(shù)值作為函數(shù)結(jié)果返回去。并編制主函數(shù)對(duì)它進(jìn)行調(diào)用以驗(yàn)證其正確性。 例如,當(dāng)x=123456789,n=7時(shí),執(zhí)行語(yǔ)句“Rxn=f(x, n, Lxn) ”將使返回的Lxn為7,并使Rxn變?yōu)?;而執(zhí)行語(yǔ)句“Rxn=f(12345, 6, Lxn) ”將使Lxn與Rxn都變?yōu)闉?(超出數(shù)的“長(zhǎng)度”即總位數(shù)時(shí)返回0)。
標(biāo)簽: Int unsigned long Lxn
上傳時(shí)間: 2017-01-02
上傳用戶:s363994250
蟲蟲下載站版權(quán)所有 京ICP備2021023401號(hào)-1