Computer Science, asked by subhamsingh21, 8 months ago

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 MdZafferAli
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