VB:Simple Printing Tutorial
From Progzoo
Simple Printing
What are the regions?
The method oneLine will get called over 200 times.
Each time the five parameters
name region area pop gdpwill have different values.
The example program lists the region for each country.
Change the program so that it prints the name instead.
[Font]
[Default]
[Show]
[Resize]
[History]
[Profile]
Show the name and the population
Include a second line so that the name is on the first line and the population is on the second.
[Font]
[Default]
[Show]
[Resize]
[History]
[Profile]
Show the population in millions
Show the name and the population in millions.
Afghanistan has population 26 million Albania has population 3 million Algeria has population 32 million Andorra has population 0 million Angola has population 14 million ...
You can use the Math.Round function.
[Font]
[Default]
[Show]
[Resize]
[History]
[Profile]