Computer Science, asked by rajeshziny, 3 months ago

q 1 Write the Q basic program to print the basic details​

Answers

Answered by janu519
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