10.0 would be interpreted as floating point
#include <iostream> using namespace std; int main(void) { float firstOp = 10, result; int secondOp = 4; result = firstOp / secondOp; cout << firstOp << " / " << secondOp << " = " << result; return 0; }