View Code of Problem 31

#include<stdio.h>

void main()
{
    int k,i;
    scanf("%d",&k);
    i=105*(k-1)+23;
    printf("%d",i);
}
/*
Main.cc:3:11: error: '::main' must return 'int'
 void main()
           ^
*/

Double click to view unformatted code.


Back to problem 31