Zoo tutorials: [ SQL | Linux | XML ]
ProgZoo: [ Java | C# | VB | C++ | Perl ]
Log in

A Gentle Introduction to
C++ Programming

Tutorial: Filtering and printing.

 
Before you start you might want to look at:

1. Which are the big countries by population?


Big

Give the name and population of the countries that have a population of at least 200000000 that is 200 million.

  • The formatting has been done using C strings. If you have a better way to do this please email me at a.cumming@napier.ac.uk

2. Calculate per captia GDP


Big

Show the name and the per capita gdp for each country with a pop of more than 200000000

per captia GDP

3. Sparse populations


Big

Show the name only for those countries where the area is more than the population.

4. Population in millions


Big

For the countries of South America, show the name and population divided by one million.