Answer: provided in the explanation section
Explanation:
i hope this helps.
DATA SEGMENT
ARRAY DB 1,4,2,3,8,6,7,5,9
AVG DB ?
MSG DB "AVERAGE = $"
ENDS
CODE SEGMENT
ASSUME DS:DATA CS:CODE
START:
MOV AX,DATA
MOV DS,AX
LEA SI,ARRAY
LEA DX,MSG
MOV AH,9
INT 21H
MOV AX,00
MOV BL,9
MOV CX,9
LOOP1:
ADD AL,ARRAY[SI]
INC SI
LOOP LOOP1
DIV BL
ADD AL,30H
MOV DL,AL
MOV AH,2
INT 21H
MOV AH,4CH
INT 21H
ENDS
END START
cheers i hope this helps!!!
Answer:
It depends on the structure of the sentence.
Explanation:
This will be shown as grammatical mistake because both the spellings are correct. If we write the word weather instead of the whether, Ms word shows the grammatical mistake. This is because, if we want to write the word whether, we should use or in our sentence. Both of these words are comes together.
Example
I will take a leave whether its raining or not.
In above sentence, both whether and or comes together. If we write weather instead of whether it just show the grammatical mistake in the sentence.
Answer:
Computer
Explanation:
Computer defines to an electronic device for storing and processing data, typically in binary form, according to instructions given to it in a variable program.
Answer:
#include<iostream>
using namespace std;
int main()
{int num1,num2;
cout<<"enter 2 numbers:"<<endl;
cinn>>num1;
cinn>>num2;
cout<<("value without swapping of num1",num1);
cout<<("value without swapping of num2",num2);
num1 ^= num2;
num2 ^= num1;
num1 ^= num2;
cout<<("num1 after swapping",num1);
cout<<("num2 after swapping,num2);
return 0;
}