In a country the population of males is 67,88,967 and population of females is 4998890.Write a program to print the total population of the country in Q Basic.
Answers
Answered by
2
Answer:
CLS.
Male = 67,88,967
Female = 4998890
TP = Male + Female
PRINT("Total population of the country is"; TP)
END.
Explanation:
Above CLS used to clear screen.
Then we stored the population of male in Male variable similar Female population in Female variable.
Then we stored total value of Male and female variable into another variable TP.
We printed the sum of Male and Female variable using PRINT function.
END used to terminate the code after execution.
Similar questions
Math,
3 months ago
Biology,
3 months ago
Math,
8 months ago
Political Science,
8 months ago
CBSE BOARD XII,
1 year ago
Math,
1 year ago