Question: write in c program Create a structure named Countries with the following components and appropriate data types: Name, Population, Currency, Capital, Continent. 12 a. Create

write in c program

Create a structure named Countries with the following components and appropriate data types: Name, Population, Currency, Capital, Continent. 12 a. Create an Array of Countries of size 5 and take the inputs (from console/user) to fill the array write it in a text file called Countries.txt b. Now write a function to print a list of countries with population more than 10 M (million). c. Now write a function which will take input from countries.txt file and create two files, one for Asian, another one for other continents. Countries.txt Bangladesh 18M Taka Dhaka Asia Ireland 5M Euro Dublin Europe China 1.4B Yuan Beijing Asia Brazil 211M Brazilian real Brasilia South America Morocco 36M Dirham Rabat North Africa

Asian_countries.txt Bangladesh 18M Taka Dhaka Asia China 1.4B Yuan Beijing Asia Other_countries.txt Brazil 211M Brazilian real Brasilia South America Morocco 36M Dirham Rabat North Africa Ireland 5M Euro Dublin Europe

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!