C#:Multiple Conditions Tutorial
You may want to review some examples before you start: [../ht25Tests/ if statement - and, or, not]
Compare UK with Japan
The default program shows some details for two countries.
Show the following details
United Kingdom and
- pop in millions
- Population density - the number of people per square mile.
- gdp in billions of dollars (1 billion is 1000000000)
Asia and Asia-Pacific
Show the name and region for the countries of
Use 30 characters for the name and 20 for the region.
Densely populated countries
List the name, the population and the area for those countries with a population density of at least 1000 people per square km.
Use 25 characters for the name, 12 for the population and 9 for the area. Use commas in both population and area.
Large countries of Asia
Show the name and the populations where the region is Asia and the population is more than 100000000.
Use 11 characters for the name and 15 for the population.