Computer Studies
Write a program in QBASIC to make a name sticker which includes your name, class, roll no., subject and school using INPUT statement. Display the output in the given format:
Name :
Class :
Roll No.:
Subject :
School :
QBASIC
QBASIC: Input Statement
51 Likes
Answer
Cls
Input "Enter name"; N$
Input "Enter class"; C$
Input "Enter roll no. "; RN
Input "Enter Subject "; SUB$
Input "Enter school name "; S$
Print "Name : "; N$
Print "Class : "; C$
Print "Roll No : "; RN
Print "Subject : "; SUB$
Print "School : "; S$
EndOutput
Enter name? Mishi
Enter class? VI-A
Enter roll no.? 23
Enter Subject? Computer
Enter school name? City Montessori School
Name : Mishi
Class : VI-A
Roll No : 23
Subject : Computer
School : City Montessori School
Answered By
19 Likes
Related Questions
How does LET statement differ from an INPUT statement?
Write down the syntax of:
(a) INPUT statement with a numeric variable.
(b) INPUT statement with an alphanumeric variable.Write a program in QBASIC format to accept the length of a rod in millimetres and express the same in centimetres and metres.
Write a program in QBASIC format to print the total amount paid to the shopkeeper for purchasing the following items:
Number of exercise books = 10 Number of brown paper rolls = 4