// ceri puddle

//question 2
/*#include <stdio.h>
void main()
{
	float PI = 3.14, div = 4 / 3;
	float v, r, r2;

	printf("Calculating the volume of a sphere\n");
	printf("Please enter the radius of the sphere!!!:\n");
	scanf("%f", &r);
	
	r2 = r*r*r;
	v = div * PI * r2;

	printf("Here is the volume of the sphere : %.2f",v);
	printf("\nCheers\n");




}*/

//question 3
/*
#include <stdio.h>
#include <stdlib.h>
void main()
{
	float temp[5], av, av2;
	int i,j;

	for (i = 0; i < 5; i++)
	{
		printf("Enter a temp in centigrade\n");
		scanf("%f", &temp[i]);
	}


	for (j = 0; j < 5; j++)
	{
		printf("Here is temps %.2f : \n", temp[j]);
	}

	av = temp[0] + temp[1] + temp[2] + temp[3] + temp[4];
	av2 = av / 5;

	printf("Here is the average : %.2f", av2);


}*/

//question 4
/*
#include <stdio.h>
#include <string.h>
#include <stdlib.h>

struct city
{
	int numofparks, populationsizemill;
	char nameofcity[20], country[20];
};

void main()
{
	city city1;
	city city2;

	strcpy(city1.nameofcity, "Swansea");
	strcpy(city1.country, "Wales");
	city1.numofparks = 15;
	city1.populationsizemill = 1;

	strcpy(city2.nameofcity, "London");
	strcpy(city2.country, "England");
	city2.numofparks = 50;
	city2.populationsizemill = 5;

	printf("Information for City 1\n");
	printf("The city of %s is in %s \n", city1.nameofcity, city1.country);
	printf("It has a population size of %d million with %d Parks \n\n", city1.populationsizemill, city1.numofparks);


	printf("Information for City 2 \n");
	printf("The city of %s is in %s. \n", city2.nameofcity, city2.country);
	printf("It has a population size of %d million with %d Parks. \n", city2.populationsizemill, city2.numofparks);
}
*/
