#include #include using namespace std; int main() { float h = 0.1; for(int i = 1; i < 20; i++) { h /= 10.; float temp = (10.+h)-10; float x = fabs(temp)/h; cout << h << " " << temp << " " << x << endl; } return 0; }