View Code of Problem 31

#include <stdio.h>
#include <stdlib.h>

int main() {
	int k,sum;
	while(scanf("%d",&k)!=EOF){
		sum=23+3*5*7*(k-1);
		printf("%d\n",sum);
	}
}

Double click to view unformatted code.


Back to problem 31