從鍵盤輸入1 5中的數分別在螢幕上顯示1st,2st,3st,4st,5st,其他顯示

時間 2022-11-26 00:40:43

1樓:

; multi-segment executable file template.

data segment

; add your data here!

str  db 10,13,0

chr  db ?,"st",10,13,9

pkey db "press any key...$"

errmsg db 10,13,"only 0-5 are acceptable, press any key...$"

ends

stack segment

dw   128  dup(0)

ends

code segment

start:

; set segment registers:

mov ax, data

mov ds, ax

mov es, ax

; read a key from keyboard

mov ah, 1

int 21h

; check the key

cmp al, '0'

jc  err

cmp al, '5'

jnbe err

mov chr, al

lea dx, str

jmp outmsg

err:

lea dx, errmsg

outmsg:

mov ah, 9

int 21h        ; output string at ds:dx

; wait for any key....

mov ah, 1

int 21h

mov ax, 4c00h ; exit to operating system.

int 21h

ends

end start ; set entry point and stop the assembler.

2樓:鯤鵬展翅

code segment

assume cs:code

start:

mov ah,1

int 21h

cmp al,30h

jbe other

cmp al,36h

jae other

mov dl,al

mov ah,2

int 21h

mov dl,'s'

int 21h

mov dl,'t'

int 21h

jmp tj

other:

mov dl,'*'

mov ah,2

int 21h

tj:mov ah,1

int 21h

mov ah,4ch

int 21h

code ends

end start

3樓:匿名使用者

#include

void main()

1st(第一,st在1的右下角或右上角)在電腦中如何打

4樓:天使在唱歌

1、以電腦上的word文件為例,如圖要把1st的st放在1的右上角,首先選中st部分;

2、然後點選滑鼠右鍵,在彈出框裡選擇「字型」;

3、在彈出的字型設定框裡,效果下面的「上標」打上勾,然後點選下面的確定按鈕;

4、則可把字母st成功的放到數字1的右上角了;

5、如果要放到數字1的右下角,那麼在選擇效果時,點選下標,然後點選下面的確定按鈕;

6、則可把字母st成功的放到數字1的右下角了。

5樓:word排版高手

在word中,輸入1st後,選擇st,按ctrl+=組合鍵設定為下標,ctrl+hift+=組合鍵設定為上標

6樓:灰姑娘的霸氣

方法:1、開啟word文件,輸入1st,之後選中st右鍵--字型。

2、在字型選項中,點選「上標」確定。

3、設定後效果如圖。

在開始選單裡點開執行輸入cmd進去後都能輸入什麼指令,這些指令的作用是什麼?

7樓:崇熙陽

這是輸入一些dos命令,能幫助你開啟系統內、外部命令或程式和處理批處理檔案。

8樓:匿名使用者

可以切換到ms――dos方式

9樓:匿名使用者

輸入 help 會有詳細介紹

誰能把dos下的命令做乙個詳細介紹呀?越詳細越好

10樓:匿名使用者

diskcopy[源碟符][目標碟符]用於整盤複製.

11樓:

說的很全 `但是對於菜鳥來說`簡直就是天書 不懂``

1st是什麼意思,st是乙個單詞來的嗎?怎麼讀啊?

12樓:冉冉

1st表示的是單詞first,是序數詞「第一」的意思。

序數詞是數詞的一種,主要在英語語

法中講到,在漢語中表示為「第幾」。此外,在生日中,描述你出生的日期時,也用到了序數詞。比如:may first (5月1日)

其他序數詞:first (1st) second (2nd) third (3rd) fourth (4th) fifth (5th)

sixth (6th) seventh (7th) eighth (8th) ninth (9th) tenth (10th) eleventh (11th) twelfth(12th) thirteenth (13th) fourteen (14th) fifteenth (15th) sixteenth (16th) seventeen (17th) eighteenth (18th) nineteenth (19th) twentieth (20th) twenty-first (21st) thirtieth (30th) thirty-ninth(39th) fortieth (40th) fiftieth (50th) sixtieth (60th) seventieth (70th) eightieth (80th) ninetieth (90th) hundredth (100th) one hundryed-first(101th)

13樓:清風朗月燕子飛

1st, first

2nd, second

3rd, third

4th, forth

5th, fifth

……讀 april the first(英式英語)april first(美語)

14樓:旅順口

first是第一的次意思,它的縮寫就是1st。

1st,april就是四月的第一天,也就是4月1日。

15樓:匿名使用者

april 1st 四月一號

1st first 讀作 費斯特

怎樣用cmd中的命令進入區域網中某台已知使用者名稱和密碼的電腦

16樓:我是舞五

在區域網抄內要檢視所有已開通襲的機子只需在dos下輸入net view(進入dos的方法:

1、按鍵盤上的windows微標鍵,就是乙個windows視窗的那個鍵再按r鍵,即可開啟執行,在裡面輸入cmd就可以執行了。

2、點「開始」——「執行」,輸入cmd也行。

3、直接找到它的路徑即:c:\windows\system32\cmd直接雙擊也能執行。

)輸入完成後,稍等片刻就會出現命令成功完成。這時就能看見局域內的機子了,如果想知道ip可以這樣做,例哪掃瞄出了\\a08這台機子,那麼就可以在命令行內輸入:ping a08回車就能看到出現"reply from 192.

168.1.69:

bytes=32 time<1ms ttl=128"這樣的數字,其中192.168.1.

69就是這台機子的ip.如果想知道主機,找裡面與眾不同的那一台,一般來說主機和其它的機子名字不一樣.區別很大。

17樓:匿名使用者

如果是cmd命令提bai示符下的話,前提是du對zhi方必須開啟daotelnet服務。

在對方開啟的情回

況下可以在命令提示符下答輸入:

telnet 192.168.1.*

然後提示輸入使用者和密碼輸入即可。

樓上的老兄風了。不知道**弄的

18樓:匿名使用者

wmic /user:使用者名稱 /node:ip位址 process list brief

這個是乙個檢視對方程序的示例, 具體要做什麼, 你看一下wmic吧..

19樓:匿名使用者

幹嘛要用dos命令?用系統自帶的遠端桌面就可以,在附件那裡有。

從鍵盤輸入整數判斷它是否為素數,從鍵盤輸入乙個整數,判斷它是否為素數

演算法如下 已執行通過 include iostream.h include math.h define n 1000 bool fun int n void main 補充一下,求素數的方法還是有很多的,比如 1 遍歷2以上n的平方根以下的每乙個整數,是不是能整除n 這是最基本的方法 2 遍歷2以...

PASCAL從鍵盤輸入長度不超過40的字串,按要求進行刪除。求大師講解,給五十分

var s string i,j,l integer c1,c2 char found boolean begin readln s l length s found false read c1 if c1 d then begin read c2,c2 i pos c2,s if i 0 then...

VB中從鍵盤輸入正整數,然後把該數的每位數字按逆序輸出

設這個數是num int data 10 int count 0 dowhile num 0 int i for i count 1 i 0 i while x 9 while x x 10 len trim str x vb 輸入乙個合法的3位正整數,測試其數值合法性後,逆序輸出並顯示,例如,輸入...

C語言問題,從鍵盤輸入n個英語單詞。輸入格式為n,w1,w2,w3 wn,其中n表示隨後輸入的英語

我提供個思路,你可以用遞迴的方式解這個問題。如果m 10,w1 1,則如果w1為滿足的若干件其中之一的話,則需要其他加起來為m w1,以此類推,直到w1到wn中有滿足的,且沒有重複的為止 include include include typedef struct link link void in...

c語言編寫程式提示從鍵盤輸入小於1000的正

蕪視壹苆灬 include stdio.h void aa int k 個位數字或者百位數字 void aaa int i,int j 特殊情況 void x int l 十位數字 void fun int a,int b,int c if b 1 aaa b,c if b 1 b 9 if b 0...