//Rice Krispies budget

#include <stdio.h>

void main()
{
	float budget, box, bowls_box,box_week,bowl_week,cost_bowl,bowl_year;
	budget = 20;
	box = 4;
	bowls_box = 8;

	box_week = budget / box;
	printf("Boxes per week that student can afford %f\n\n", box_week);

	bowl_week = box_week * bowls_box;
	printf("Bowls per week that student can afford %f\n\n", bowl_week);
	
	cost_bowl = box / bowls_box;
	printf("Cost per bowl: %.2fp\n\n", cost_bowl);

	bowl_year = bowl_week * 52;
	printf("Bowls per year: %.2f", bowl_year);


}