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