Question: C Programmin Write a C program for the following requirements. Use an array of structures: The following tables show the islands.txt Download islands.txt file,
C Programmin
Write a C program for the following requirements. Use an array of structures:
The following tables show the "islands.txt
Download islands.txt file, which contains data records about areas of the world's major landmasses.
Read the "islands.txt file.
Find the name of the largest land.
Find the name of the smallest land.
Your program should do the following:
Create a type struct for the landmass record
Create an array of the struct you created in step
Read the information from the file islands.txt and save it in the array.
Find the name of the largest land.
Find the name of the smallest land.
Organize your program into multiple files mainc funcitons.c functions.h
Use makefile optional
islands.txt:
Africa
Antarctica
Asia
Australia
AxelHeiberg
Baffin
Banks
Borneo
Britain
Celebes
Celon
Cuba
Devon
Ellesmere
Europe
Greenland
Hainan
Hispaniola
Hokkaido
Honshu
Iceland
Ireland
Java
Kyushu
Luzon
Madagascar
Melville
Mindanao
Moluccas
NewBritain
NewGuinea
NewZealandN
NewZealandS
Newfoundland
NorthAmerica
NovayaZemlya
PrinceofWales
Sakhalin
SouthAmerica
Southampton
Spitsbergen
Sumatra
Taiwan
Tasmania
TierradelFuego
Timor
Vancouver
Victoria
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
