0_0_38379444_25324.cpp: In function 'int prime(int)':
0_0_38379444_25324.cpp:4:27: error: 'sqrt' was not declared in this scope
for (i = 2; i <= sqrt(num); i++)
^
0_0_38379444_25324.cpp: In function 'int main()':
0_0_38379444_25324.cpp:14:18: error: 'scanf' was not declared in this scope
scanf("%d", &num);
^
0_0_38379444_25324.cpp:17:32: error: 'printf' was not declared in this scope
printf("%d %d\n", i, num - i);
^
0_0_38379444_25324.cpp:18:10: error: expected '}' at end of input
return 0;
^
|