#include main() { int i = 17, j = 5; float x = 17, y, z; cout << i / j << endl; // 3 (NOT 3.4) will be displayed. // Note that i & j are of type int while x is of type float. y = i / j; // 3 will be stored in y. cout << y << endl; z = x / j; // 3.4 will be stored in z. cout << z << endl; // Compare the following: cout << 18 / 8 << endl; // 2 will be displayed. cout << 18.0 / 8 << endl; // 2.25 will be displayed. cout << 18 / 8.0 << endl; // 2.25 will be displayed. cout << 18.0 / 8.0 << endl; // 2.25 will be displayed. return 0; }