//sara vonk
#include<stdio.h>
#include<string.h>
#define PI 3.142

//Q2
/*void main()

{
	float r,v;
	printf("type in the radious");
	scanf("%f", &r);

	printf("%.2f\n", r);

	v = PI*(4 / 3);
	r = r*r*r;
	v = v*r;

	printf("%.2f", v);

}*/

//Q3
/*
void main()
{

	int temp[6], i,n, av;

	printf("all temperatures must be entered as C and not F\n\n");
	printf("temperature on monday");
	scanf("%d", &temp[0]);
	printf("temperature on tuesday");
	scanf("%d", &temp[1]);
	printf("temperature on wednesday");
	scanf("%d", &temp[2]);
	printf("temperature on Thursday");
	scanf("%d", &temp[3]);
	printf("temperature on Friday");
	scanf("%d", &temp[4]);


	for (i = 0; i < 5; i++)
	{
		n = i + 1;
		printf("on day %d temperature was\n%d\n", n, temp[i]);

	}



	av = temp[0] + temp[1] + temp[2] + temp[3] + temp[4];

	av = av / 5;

	printf("\n\nthe average teprater was %d\n", av);






}*/


//Q4
/*

	struct city
	{
		char name[20];
		char country[20];
		int population;//in millions
		int parks;

		
	};

	void main()
{
		int i;

		city coolcities[5];

		strcpy_s(coolcities[0].name, "Swansea");
		strcpy_s(coolcities[1].name, "London");
		strcpy_s(coolcities[2].name, "New york");
		strcpy_s(coolcities[3].name, "Paris");

		strcpy_s(coolcities[0].country, "Wales");
		strcpy_s(coolcities[1].country, "England");
		strcpy_s(coolcities[2].country, "USA");
		strcpy_s(coolcities[3].country, "France");

		coolcities[0].population = 1;
		coolcities[1].population = 2;
		coolcities[2].population = 3;
		coolcities[3].population = 4;

		coolcities[0].parks = 10;
		coolcities[1].parks = 11;
		coolcities[2].parks = 12;
		coolcities[3].parks = 13;

		for (i = 0; i < 4; i++)
		{
			printf(" coolcity: %d, \n name: %s \n country:%s \n population:%dMillion \n parks:%d \n\n", i, coolcities[i].name, coolcities[i].country, coolcities[i].population, coolcities[i].parks);
		}
}*/