Question: /* ----------------------------------------------------------- Write a program [1 mark] ----------------------------------------------------------- __________________________________________________________ | Population | Class | ---------------------------------------------------------- | Below 5000 | Town | | At least 50000

/* ----------------------------------------------------------- Write a program [1 mark] ----------------------------------------------------------- __________________________________________________________ | Population | Class | ---------------------------------------------------------- | Below 5000 | Town | | At least 50000 | City | | At least 10 Million | Super City | ----------------------------------------------------------

Write a program that asks the user to enter the number of population of a town/city, then the program will display its class.

The sample runs are as follows.

=============================== Sample Run:

Enter the population: 4500 It is a town. =============================== Sample Run:

Enter the population: 50000 It is a city. =============================== Sample Run:

Enter the population: 11000000 It is a super city. =============================== -----------------------------------------------------------*/ // Write your program below:

#include #include using namespace std;

int main() {

return 0; }

Write a program in C++

Please solve this question

Thankyou In advance

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!