180k views
0 votes
Define a structure with the tag Consumption to consist of a character array (city[20]), an integer (year), and a double (usage). b) Define a structure with the tag Resource to consist of two character arrays (material [30], and units[20]), and three doubles (longitude, latitude, and quantity). Then in the main function, declare metal and fuel to be variables of type struct Resource, and then declare water and power to be variables of type struct Consumption.

User ButtaKnife
by
6.1k points

1 Answer

3 votes

Answer:

..............................................................................

...............................

Step-by-step explanation:

..............................................................................................................................................

User Jon Magnus
by
5.2k points