#include #include int main() { float a = 1.000001; float b = 0.999999; float eps = 0.00000001; while(fabs(a-b) > eps) { a = (a+b)/2; printf("."); } }