.model small
.stack
.data
m db 'the no is odd $'
m1 db 'the no is even $'
a db 04h
b db 02h
.code
mov ax,@data
mov ds,ax
mov ah,0
mov al,a
mov bl,b
div bl
cmp ah,00h
je l1
mov dx,offset m
jmp l
l1:
mov dx,offset m1
jmp l
l:
mov ah,09
int 21h
mov ah,4ch
int 21h
end
Chat with our AI personalities
if the gcd and lcm are given and one of the numbers are also given,multiply the gcd and lcm and divide them by the given number
Without knowing what the numbers are, I would suggest taking the mean of the given numbers.
decimal
None of them is, since none are given.
The GCF of the given numbers is 8