View Code of Problem 31

#include "stdio.h"
#include "string.h"

void main()
{
	long int x,k;
	for(;scanf("%ld",&k)!=EOF;)
	{
		x=3*5*7*(k-1)+23;
		printf("%ld\n",x);
	}
}

Double click to view unformatted code.


Back to problem 31