PHP:Printing Several Items Tutorial
Before you start you might want to look at:
- PHP:Testing strings and numbers:
ifstatement - testing strings and numbers
- PHP:Format Printing: displaying numbers and strings
Which are the big countries by population?
Give the name and population of the countries that have a population of at least 200000000 that is 200 million.
Calculate per captia GDP
Show the name and the per capita gdp for each country with a pop of more than 200000000
Show the name only for those countries where the area is more than the population.
Population in millions
For the countries of South America, show the name and population divided by one million.