Write a C program that reads from a text file “districts.txt” names of the 9 districts in Palestine (Jenin, TulKarim, Qalqilya, Nablus, Ramallah, Jericho, Jerusalem, Bethlehem, and Hebron) and their corresponding rain falls in millimeter for the last 5 years.
Your program should store the names of the districts into a one-dimensional array of names, and the rain falls into a two-dimensional array 9x5 of integers.
Your program should then find the average rain falls for each of the 9 districts and store the result into a one-dimensional array of float.
Your program should print the following onto screen:
The text file should look like:
Jenin 500 550 450 720 910
TulKarim 400 580 455 700 820
Qalqilya 300 550 450 720 410
Nablus 600 550 460 700 910
Ramallah 500 550 450 720 770
Jericho 720 650 460 720 456
Jerusalem 440 550 450 720 710
BeitLahem 600 550 450 720 310
Hebron 530 550 450 720 330
DescriptionIn this final assignment, the students will demonstrate their ability to apply two majorconstructs of the C programming language – Fu
Path finding involves finding a path from A to B. Typically we want the path to have certain properties,such as being the shortest or to avoid going t
Develop a program to emulate a purchase transaction at a retail store. Thisprogram will have two classes, a LineItem class and a Transaction class. Th
1 Project 1 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of
1 Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of