CSE102#HW09 solution

$29.99

Original Work ?

Download Details:

  • Name: HW09.zip
  • Type: zip
  • Size: 109.48 KB

Category: You will Instantly receive a download link upon Payment||Click Original Work Button for Custom work

Description

5/5 - (4 votes)

Write a C program that keeps information about world countries. There could be at most 100 countries. Use C Structures with the following data fields to represent countries.  Country name (at 25 characters),  Country population,  Country area in km squares,  Number of soldiers in the army,  Neighbor countries (at most 10 neighbors, 0 for island countries)
When your program runs, it should offer the following options (a) Add a country (if user presses corresponding key, in this case: ‘a’), (Type ‘-1’ to finish neighbor input ) (b) Print name of the most powerful country in terms of military strength in vicinity of a given country (among neighbors of neighbors of given country including itself ) (c) Print name of the largest country in terms of land it possesses in vicinity of a given country (among neighbors of neighbors of given country including itself ) (d) Calculates and prints how many people at minimum should be seen if I need to go from a given country to another given country (Assume that if I visit a country, I would see all people of that country). If the target country is inaccessible then print INACCESSIBLE. (e) Exit the program (Presses key ‘e’)
Sample Usage
Make your choice: a Turkiye 79000000 815000 640000 Azerbaycan Bulgaristan Ermenistan Gurcistan Irak Iran Suriye Yunanistan -1 Make your choice: b Turkiye

🚀 Custom Work, Just for You! 🚀

Can’t find the tutorial you need? No worries! We create custom, original work at affordable prices! We specialize in Computer Science, Software, Mechanical, and Electrical Engineering, as well as Health Sciences, Statistics, Discrete Math, Social Sciences, Law, and English.

✍️ Custom/Original Work Essays cost as low as $10 per page.
💻 Programming Custom Work starts from $50.

🔥 Get top-quality help now! 🔥

Get Your Custom Work