Answer:
A and B have different output:
A output will be 1
B output will be 123
Explanation:
A
X = 0
do x < 3
x = x+1
print x
while
B
X = 0
do x = x+ 1
print x
while x < 3
For statement A the condition statement which suppose to be after "while" is not set therefore the value of x will be printed.
For statement B the condition statement is set "x < 3" in front of "while" thereby result in iteration until the condition is false.
Statement A output will be 1
Statement B output will be 123
Answer:
1. Numeric variable:
A variable which can store numeric value is called numeric variable.
e.g.
A=12
pi=3.14
c=79.89
2. String variable:
A variable which can store string variable is called String variable. String is a array of character enclosed within the double inverted comma.
e.g.
N$="ram"
Place$="Kirtipur Kathmandu"
note that a string variable ends with $
Explanation:
A variable is a quantity which can store value in computer memory. A variable is also a quantity whose value changes during the execution of a program. Like in mathematics a variable holds certain value Just in QBASIC; it is a placeholder for storing value in computer memory
Answer:
No, not that one. Try again.
Explanation:
string comparison is case sensitive.
Answer:
ok done we will try
BTW have a nice day enjoy your day Stay blessed stay happy stay strong