// Matthew Barnard


//Question 2
/*#include <stdio.h>
#define PI 3.142
void main()
{
	float r, v;
	printf("Please enter the required radius of the sphere: ");
	scanf("%f", &r);
	v = (4 / 3) * PI * r;
	printf("The volume of the sphere at a radius of %.2f is %.2f\n", r, v);
}*/

//Question 3

/*#include <stdio.h>

void main()
{
	float temps[5];
	int j, i;
	for (i = 0; i < 5; i++)
	{
		printf("Please enter the temperatures required: \n");
		scanf("%f", temps[i]);
		printf("So the results are as follows:");
		for (j = 0; j < 5; j++)
		{
			printf("%f", temps[i]);
		}
	}

}*/

//Question 4

/*#include <stdio.h>
#include <string.h>

struct city
{
	char name[100];
	int population;
	char country[50];
	int parks;
};
void main()
{
	int i;
	city mycity[2];
	strcpy(mycity[0].country, "Wales");
	strcpy(mycity[0].name, "Swansea");
	mycity[0].population = 241300;
	mycity[0].parks = 5;
	
	strcpy(mycity[1].country, "Wales");
	strcpy(mycity[1].name, "Cardiff");
	mycity[1].population = 500000;
	mycity[1].parks = 20;
	for (i = 0; i < 1; i++)
	{
		printf("%s %s %d %d\n", mycity[0].name, mycity[0].country, mycity[0].population, mycity[0].parks);
		printf("%s %s %d %d\n", mycity[1].name, mycity[1].country, mycity[1].population, mycity[1].parks);
	}

}*/