q 1 Write the Q basic program to print the basic details
Answers
Answered by
7
Answer:
Explanation:
CLS
INPUT ” Enter the name “;N$
INPUT ” Enter the city”;C$
INPUT ” Enter the country”;CO$
INPUT ” Enter the age”;A
PRINT ” The name is “;N$
PRINT ” The city is “;C$
PRINT ” The country is “;CO$
PRINT ” The age is “;A
END
Here name, city, country are string so its variable name is written with sign $ before it and since age is a number so the variable name is written directly.
Similar questions
English,
4 months ago
Chemistry,
4 months ago
Business Studies,
4 months ago
Social Sciences,
8 months ago
Biology,
1 year ago