func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     double a, d;     int n;     cin >> a >> d >> n;     scanf( %lf%lf%d , &a, &d, &n);     for (int i = 0; i < n; i++) {       double temp = fmod((i + 1) * d, 4 * a);       if (temp < a)         printf( %lf %lf n , temp, 0.0);       else if (temp < a * 2)         printf( %lf %lf n , a, temp - a);       else if (temp < a * 3)         printf( %lf %lf n , 3 * a - temp, a);       else         printf( %lf %lf n , 0.0, 4 * a - temp);     }     return 0;   }   