// Conversion experiment #include int main () { float x,y; int i; y = 1234.56789; // simple test i = x; cout << " a simple test, i = y " << endl; cout << "y = " << y << endl; cout << "i = " << i << endl << endl; // try some math; x = y-32; cout << "x = y-32" << endl; cout << "x = " << x << endl << endl; x = 5/9; cout << "x = 5/9" << endl; cout << "x = " << x << endl << endl; x = 5.0/9; cout << "x = 5.0/9" << endl; cout << "x = " << x << endl << endl; x = 5/9.0; cout << "x = 5/9.0" << endl; cout << "x = " << x << endl << endl; return(0); }