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

A Gentle Introduction to
C++ Programming

Tutorial: Countries of the world.

 

1. What are the regions?


Big

The method oneLine will get called over 200 times. Each time the five parameters

 name region area pop gdp
will have different values.

The example program lists the region for each country.

Change the program so that it prints the name instead.

2. Show the name and the population


Big

Include a second line so that the name is on the first line and the population is on the second.