//Sam Thomson

#include <stdio.h>
#include <string.h>
#define PI 3.142
//Question 2
/*
void main()
{
	float v, r,rcubed;
	printf("\nPlease enter a value for R. \n");
	scanf("%f", &r);
	rcubed = r*r*r;
	v = 4 / 3 * PI * rcubed;
	printf("\nThe volume of the sphere is %f\n", v);
}*/

//Question 3
/*
void main()
{
	int temp[5];
	int x, y, total, average;

	
	printf("Please enter 5 tempreature values as a whole number\n");
	
	for (x = 0; x < 5; x++)
	{
		scanf("%d", &temp[x]);
	}
	
	printf("\nThe tempreatures you have entered are as below:\n");
	
	for (x = 0; x < 5; x++)
	{
		printf("%d\n", temp[x]);
	}
	
	total = 0;
	for (x = 0; x < 5; x++)
	{
		total = total+temp[x];
	}
	
	average = total / 5 ;
	
	printf("\nThe average tempreature is:  %d\n", average);
}*/

//Question 4

/*
struct city
{
	char name[35];
	int popinmil;
	char country[35];
	int numpark;
};
void main()
{
	int i;
	city cities[10];
	
	cities[0].popinmil = 2;
	cities[0].numpark = 3;
	strcpy(cities[0].name, "Swansea");
	strcpy(cities[0].country, "Wales");

	cities[1].popinmil = 5;
	cities[1].numpark = 7;
	strcpy(cities[1].name, "Edinburgh");
	strcpy(cities[1].country, "Scotland");

	for (i = 0; i < 2; i++)
	{
		printf("City Name: %s  \n", cities[i].name);
		printf("Country: %s \n", cities[i].country);
		printf("Population in millions: %d \n", cities[i].popinmil);
		printf("Number Of Parks: %d\n\n", cities[i].numpark);
	}
	
}
*/