0_0_34744658_11313.cpp:1:11: error: '::main' must return 'int'
void main()
^
0_0_34744658_11313.cpp: In function 'int main()':
0_0_34744658_11313.cpp:7:23: error: 'scanf' was not declared in this scope
while (scanf("%d", &n) != 0 && n<100 && n>0)
^
0_0_34744658_11313.cpp:20:40: error: 'printf' was not declared in this scope
printf("%d %d %d\n", cut1, cut2, cut3);
^
0_0_34744658_11313.cpp:24:16: error: 'system' was not declared in this scope
system("pause");
^
|