Jan Feb Mac Apr Mei Jun
2006 2.53 2.24 1.91 1.72 1.45 1.38
2007 2.72 2.56 2.32 2.01 1.98 1.84

In my assignment, a similar table regarding rain is given like above. But, the real table contain 4 years and 12 months.The extra info given is:

float rain[5][12]
Create a text file named rain.dat (that contain the data in above table).

Construct a program that can read the data from a text file (the data in table above) and output the data on the screen like following:

[1] [2] [3] [4] [5] [6]
2006 2.53 2.24 1.91 1.72 1.45 1.38
2007 2.27 2.56 2.32 2.01 1.98 1.84

We can only help you if you help yourself post your code if you have problems with them

commented: Absolutely :) +17