answersLogoWhite

0

QBASIC relational operators are...

= equal

> greater than

< lesser than

>=greater than/OR, equal to

<=lesser than/OR, equal to

EXAMPLE QBASIC CODE:-

IF 1 > 2 THEN PRINT "1 greater than 2"

IF 1 < 2 THEN PRINT "1 lesser than 2"

IF 1 = 2 THEN PRINT "1 equal to 2"

IF 1 >= 2 THEN PRINT "1 greater than/OR, equal to 2"

IF 1 <= 2 THEN PRINT "1 lesser than/OR, equal to 2"

...Output...

1 lesser than 2

1 lesser than/OR, equal to 2

Press any key to continue...

QBASIC mathematical operators are...

+ plus

- minus

/ divide

* multiply

MOD modulus (remainder)

^ raise to the power

EXAMPLE QBASIC CODE:-

PRINT "3 + 3 = "; 3 + 3

PRINT "3 - 3 = "; 3 - 3

PRINT "3 / 3 = "; 3 / 3

PRINT "3 * 3 = "; 3 * 3

PRINT "3 MOD 3 = "; 3 MOD 3

PRINT "3 ^ 3 = "; 3 ^ 3

...Output...

6

0

1

9

0

27

Press any key to continue...

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

What are the differences between database management system Vs relational dbms?

the database management system analysis the data or record but relational database management system links the database to each other.


Why is a wave pulse traveling on a string considered a longitudinal wave?

it is sideways displacement vs. lengthwise or rotational.


What are 3 benefits of Microsoft Access?

Relational tables if stored locally (vs Excel). Can use ODBC interface to access SQL/Oracle/etc databases. Idiot friendly with drag and drop joins.


What are the pros and cons of string trimmers vs. blade trimmers?

String trimmers are great for standard tasks such as weed clearing. However, many string trimmers can also support a blade attachment, which can be much more effective at cutting through very heavy brush .


knot vs not?

Knot refers to a fastening made by tying a piece of string or rope. Not expresses negation, denial, or refusal.


What three things are there of causing a string on a guitar to make a low note?

Thickness, length and tension are the main contributing factors in harmonic tone of a string. Materiel density (hardness), composition (such as wound strings vs. simple strings) how and where the string is struck and the acoustics of the instrument are also factors.


What are the differences between memcpy vs strcpy?

memcpy is general purpose copy. and strcpy is specific for string copying. strcpy will copy the source string to destination string and terminate it with '\0' character but memcpy takes extra argument which specifies the number of bytes to copy.memcpy will not handle copying of overlapping memory. use memove instead.


Give me the answer Difference between unary and binary operator?

A unary operator is one which operates on just one number, e.g. x2 or -x. A binary operator is one which takes two numbers, e.g. x + y or xy. Note that this has nothing to do with binary vs. decimal arithmetic. This term is commonly used to distinguish between the two buttons which have a '-' sign on a calculator. The unary '-' operator button is used to change the sign of a number entered, and the binary '-' operator button is used to subtract two numbers, which is quite a different thing. The unary '-' button is commonly labelled '+/-'.


Classifications of dbms?

I.Data Modela. Traditional: Relational, Network, Hierarchicalb. Emerging: Object-oriented, Object-relationalII.Number of Usersa. Single-user (typically used with micro-computers)vs. multi-user (most DBMSs)b. Centralized (uses a single computer with onen database)vs. distributed (uses multiple computers, multiple databases)III.Number of SitesIV.CostV.Types of Access PathVI.Purpose


Does a sound is produced when a hammer strikes a string describe a clavichord?

No. It sounds much more like a 'hammer on' (just a left hand finger coming down hard on the string/fingerboard). The piano has vastly more string tension (approx. 200 lbs, depending on the piano) vs. the clavichord which has something like 10/15 lbs of tension. Just Google or YouTube for 'clavichord' and you'll find audio samples.


Major difference between dbms vs rdbms?

A DBMS (Database Management System) is a software that manages databases and provides functionalities to store, retrieve, and update data. An RDBMS (Relational Database Management System) is a type of DBMS that stores data in a structured way using tables with relationships between them. RDBMS enforces the relational model, which allows for data integrity through constraints and supports SQL for querying data.


Who would win skunk vs rat vs lion vs cat vs horse vs aligator vs crocodile vs monkey vs cobra vs wolf vs tiger vs cheetah vs dog vs rhino vs shark vs whale vs fish vs bear vs deer vs mouse?

rhino