Computer Science, asked by asekaisedadi, 4 months ago

Write a program to accept the name, age of 10 students and also print them. in qbasic

Answers

Answered by syed2020ashaels
0

Answer:

Input " Enter the name ";Name$

Input " Enter the city";City$

Input " Enter the country";Country$

Input " Enter the age";Age

Print " The name is ";Name$

Print " The city is ";City$

Print " The country is ";Country$

Print " The age is ";Age

In the above figure,

4 input statement is used to enter the data from keyboard in the variable Name$, City$, Country$ and Age.

4 print statement is used to print the variable Name$, City$, Country$, And Age$.  

QBASIC is a computer programming language. A programming language allows you to tell the computer what to do. It's similar to giving someone directions to your home. Each step is followed by the computer, and it does exactly what you tell it to do. You can solve math problems, create art or music, and even create new games by programming the computer. It's entirely up to you.The best way to get started with this book is to type in some of the small programmes that are included in each chapter. You might want to start with Chapter 1. An adult can assist you in quickly catching up.

For similar questions refer-https://brainly.in/question/49617616

#SPJ1

Similar questions