Best Answer

The different types of operators in QBASIC are:

- Arithmetic Operators
- Relational Operators
- Logical Operators

Q: What are the different types of operators in QBASIC?

Write your answer...

Submit

Still have questions?

Continue Learning about Engineering

+,-,*,/,% are the different types of operators.

the two types of data used in Qbasic is numeric data and alpha numeric data.

The different types of operators are: Assignment operator- This is used to assign values to variables. Ex: = Arithmetic Operators - These are used to perform arithmetic operations. Ex: +, -, *, /, % Logical Operators - These are used to perform logical checks like: I < 10 or x == Y etc.

arithmatic operator +,-,*,/,% assigment oprator == logical operator &,|,^,&&,,! bitwise opertor &,|,^ left shift << right shift >> left shift zero fill << assignment operator +=,-=,*=,/=

QBASIC operators are listed as follows.../along with some example QBASIC code... ->LOGICAL OPERATORS AND OR NOT EXAMPLE QBASIC CODE:- A=1 B=1 IF (A AND B) THEN PRINT "Result: True" ELSE PRINT "Result: False" ...output... Result: True A=1 B=2 IF (A AND B) THEN PRINT "Result: True" ELSE PRINT "Result: False" ...output... Result: False -> MATHEMATICAL OPERATORS + plus - minus * multiply / divide MOD division remainder ^ raise to the power EXAMPLE QBASIC CODE:- num1=4 num2=2 PRINT num1 + num2 PRINT num1 - num2 PRINT num1 * num2 PRINT num1 / num2 PRINT num1 MOD num2 PRINT num1 ^ num2 ...output... 6 2 8 2 0 16 -> COMPARISON OPERATORS = equals > greater than < lesser than >= greater than/or, equals <= lesser than/or, equals <> not EXAMPLE QBASIC CODE:- num1 = 6 num2 = 8 IF num1 = num2 THEN PRINT "Equal to" IF num1 > num2 THEN PRINT "Greater than" IF num1 < num2 THEN PRINT "Lesser than" IF num1 >= num2 THEN PRINT "Greater than/or, equal to" IF num1 <= num2 THEN PRINT "Lesser than/or, equal to" IF num1 <> num2 THEN PRINT "NOT equal" ...output... Lesser than Lesser than/or, equal to NOT equal

Related questions

+,-,*,/,% are the different types of operators.

the two types of data used in Qbasic is numeric data and alpha numeric data.

The different types of operators in Java are:Assignment OperatorsRelational OperatorsArithmetic OperatorsLogical Operators

c have different types of operations are there these are 1:logical operators 2:conditional 3:arithmetic 4:bit wise operators 5:increment&decrement 6:relational operators 7:assignment operators 8:special operators we can use above operators. we can implementing the operations. suppose logical operators &&,,! by using these we can implement operations

The different types of operators are as follows: *Arithmatic operator *Relational operator *Logical operator *Assignment operator *Increment/Decrement operator *Conditional operator *Bitwise operator *Special operator

The different types of operators are as follows: *Arithmatic operator *Relational operator *Logical operator *Assignment operator *Increment/Decrement operator *Conditional operator *Bitwise operator *Special operator

+, -, *, /, and, or, xor

The different types of operators are: Assignment operator- This is used to assign values to variables. Ex: = Arithmetic Operators - These are used to perform arithmetic operations. Ex: +, -, *, /, % Logical Operators - These are used to perform logical checks like: I < 10 or x == Y etc.

arithmatic operator +,-,*,/,% assigment oprator == logical operator &,|,^,&&,,! bitwise opertor &,|,^ left shift << right shift >> left shift zero fill << assignment operator +=,-=,*=,/=

What types of conditions do waste treatment operators monitor

the extensions of qbasic are that, there are only 80 pixels to write in the qbasic

domestic tour operator incoming tour operator outbound tour operator speacialist tour operator