Computer Science, asked by student2763, 1 year ago

write a program to produce sargam in quick basic​

Answers

Answered by indiabrainly
0

Answer:

Explanation:

The name QBasic is originated for Quick Beginners All Purpose Symbolic Instruction Code. It was developed and marketed by  Microsoft.  

It  is considered to be one of the most ideal languages. StanderedQbasic screen is given below: QBasic has  two windows such as :

Program Window: The window titled as ‘Untitled’ is the program window.

Immediate Window: The window below Program Window titled as ‘Immediate’ is the immediate window.

Basic useful commands on QBasic:

1. PRINT: This command prints the statement or data written after it. If the data to be printed is a string then it is written inside double quotes (” “).

2. INPUT command is used to take inputs/data from the user.Syntax: INPUT "[message to user]"; [variable_name] Example:INPUT sargam.

If the data to be taken is string then the variable name in which it is to be stored is written followed by $ after the INPUT command.

INPUT name$: CLS: CLS stands for Clear Screen and is used to clear the screen if some previous results/outputs are present on the screen.

A simple program to explain the above is given below.

Here, in place of name ‘sargam’ to be written.

Similar questions