answersLogoWhite

0

The print with semi - colon is used to write the text one after the other, without giving the space between them whereas the print with colon is used to type the text one after the other, with giving plenty of spaces between them.

User Avatar

Wiki User

12y ago

What else can I help you with?

Continue Learning about Basic Math

What are the difference between gwbasic and qbasic?

Difference between QBASIC and GWBASIC?


Differentiate between conditional and unconditional controls in qbasic?

A 'conditional' statement is a logical test while unconditional statement will cause the computer to branch.


What is Read-data statement in QBasic?

In QBasic, the READ statement is used to read data from a data list that has been previously defined using the DATA statement. This allows programmers to input a series of values that can be retrieved later in the program. The READ statement retrieves values sequentially, so each call to READ fetches the next value in the data list. This is useful for initializing variables with predefined data without hardcoding them directly in the program.


How do you use string operators in qbasic?

In QBASIC, string operators allow you to manipulate and combine strings. The primary operator is the concatenation operator, which is the semicolon (;) or the plus sign (+). For example, you can concatenate two strings like this: result$ = "Hello" + " World", resulting in result$ containing "Hello World". You can also use the LEN function to get the length of a string and the MID$, LEFT$, and RIGHT$ functions for extracting parts of strings.


Write a qbasic program to display A NEW LINE?

In QBasic, you can display a new line using the PRINT statement. To create a new line, you can simply use an empty PRINT statement. Here’s a simple example: PRINT "This is the first line." PRINT ' This will create a new line. PRINT "This is the third line." This program will display the first line, then move to a new line, followed by the third line.

Related Questions

What are the difference between gwbasic and qbasic?

Difference between QBASIC and GWBASIC?


What is the difference between literals and variables in QBasic?

Literals are constants.


Do you need statement numbers in QBASIC?

Statement numbers were a feature of BASIC, and while QBASIC supports them, they are by no means necessary.


Differentiate between conditional and unconditional controls in qbasic?

A 'conditional' statement is a logical test while unconditional statement will cause the computer to branch.


What is the shortcut key for input statement in QBasic?

There is no shortcut key of input in qbasic


Is rem an non executable statement in qbasic?

Yes


How do you stop a program from running in QBASIC?

To stop a program from running in QBASIC, you can press "Ctrl" + "Break" on your keyboard. This interrupts the program execution and returns you to the QBASIC command prompt. Alternatively, you can close the QBASIC window to terminate the program. If you want to exit gracefully, you can also use the END statement in your code to stop execution at a specific point.


What command statement terminates the qbasic program?

END '...END of program/halt program code execution. *NOTE*: There should be only 'one' END statement written inside of a QBASIC program. I have seen example code where they use multiple END statements; this is wrong!


What is Read-data statement in QBasic?

In QBasic, the READ statement is used to read data from a data list that has been previously defined using the DATA statement. This allows programmers to input a series of values that can be retrieved later in the program. The READ statement retrieves values sequentially, so each call to READ fetches the next value in the data list. This is useful for initializing variables with predefined data without hardcoding them directly in the program.


To print even nobetween 10 and 100 on qbasic command?

You need a code that can run to print even numbers between 10 and 100 using the qbasic command.


How do you fill a triangle in qbasic graphics?

In QBasic graphics, you can fill a triangle using the PUT statement along with the LINE statement to draw the triangle's outline, and then use the FILL statement to fill the interior. First, define the triangle's vertices by specifying their coordinates, then use LINE to connect these points. After outlining the triangle, you can use the FILL statement to fill it with a specified color. Make sure you have the graphics mode set up properly using SCREEN before drawing.


What extension would a file saved in Qbasic have?

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