Write QBasic Programs for the following problem
statements -
1. WAP to enter your Name, City, Country, Age and
print them in separate line
Answers
Answered by
2
Explanation:
The following QBasic code is used to print the required problem
CLS
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
End
Similar questions