#include <stdio.h>
#include <string.h>//1703973 - Kordian Majewski
// 3. Using Arrays

/*void main()
{
	int  temperature1;
	int  temperature2;
	int  temperature3;
	int  temperature4;
	int  temperature5;
	int  centrigrade = 1;

	printf("Please enter first temperature ");
	scanf("%d",&temperature1);
	printf("Please enter second temperature ");
	scanf("%d", &temperature2);
	printf("Please enter third temperature ");
	scanf("%d", &temperature3);
	printf("Please enter fourth temperature ");
	scanf("%d", &temperature4);
	printf("Please enter fifth temperature ");
	scanf("%d", &temperature5);
	printf("the total average of temperature is: ");
	printf("%d", temperature1 + temperature2 + temperature3 + temperature4 + temperature5);
	
	
	return;
	}
	*/

// 4. Using Strcutrues

/*struct Information			//blueprint
{
	int Population;
	char City[15];
	char Country[15];
	int NumberOfParks;
	
};

struct Information2			//blueprint
{
	int Population2;
	char City2[15];
	char Country2[15];
	int NumberOfParks2;

};

void main()
{
	Information CountryInformation;			
	Information Amount;
	CountryInformation.Population = 36000;
	strcpy(CountryInformation.City, "Krakow"); 
	strcpy(CountryInformation.Country, "Poland");
	CountryInformation.NumberOfParks = 12;


	Amount.Population = 4;
	strcpy(Amount.City, "Krakow");
	strcpy(Amount.Country, "POland");
	Amount.NumberOfParks = 1200000;
	

	printf("Name of the city %s\n\n", Amount.City);
	printf("Name of country\n\n%s\n\n", CountryInformation.Country);
	printf("The population of following City is  %d\n\n\n\n\n", Amount.NumberOfParks);



	Information2 CountryInformation2;			
	Information2 Amount2;
	CountryInformation2.Population2 = 360000;
	strcpy(CountryInformation2.City2, "Warszawa"); 
	strcpy(CountryInformation2.Country2, "Poland");
	CountryInformation2.NumberOfParks2 = 16;


	Amount2.Population2 = 4;
	strcpy(Amount2.City2, "Waszawa");
	strcpy(Amount2.Country2, "POland");
	Amount2.NumberOfParks2 = 190000000;


	printf("Name of the city %s\n\n", Amount2.City2);
	printf("Name of country\n\n%s\n\n", CountryInformation2.Country2);
	printf("The population of following City is  %d\n\n", Amount2.NumberOfParks2);


}
*/