awk script help

Hi, I am new to Unix and need some help as I stuck on this problem..I will appreciate if someone can help me with this

Write awk.script that calculates which continent (Europe, Asia or America) has the largest population density based on the given input. America corresponds to two areas in the file, North and South. The script also produces the following output:

Based on countries.txt,continent with the largest population density is

Asia: population density = 866/1411 = 0.6137

Information in blue color was calculated based on the following countries.txt file (format is
country square population area):
Canada 3852 25 North
USA 3615 237 North
Brazil 3286 134 South
India 1267 746 Asia
Mexico 762 78 North
France 211 55 Europe
Japan 144 120 Asia
Germany 96 61 Europe
England 94 56 Europe

Home work??

not really a homework, but you can say that sir as these problems are also given by teacher.but I am stuck on this one. :frowning:

You should follow rules for posting homework
http://www.unix.com/homework-coursework-questions/113751-rules-homework-coursework-questions-forum.html