//Gaynor Thomas Week 6 Repetition
#include <stdio.h>

void main()
{
int x;
int y;

	for(x=1;x<21;x++)
	{
	y=3 * x +2;
	printf("Value of y is: %d\n",y);
	}

}