|
|
back to boardC: Why doesn't the recursion stop? Posted by y87cgp 9 Aug 2018 18:16 #include <stdio.h> #include <math.h> void recur(void); int main() {
recur(); return 0; } void recur() { long int num; scanf("%ld", &num); if (num != EOF) recur(); printf("%.5f\n", sqrt(num)); } Edited by author 09.08.2018 18:20 |
|
|