Files
  • main.cpp
main.cpp
1
2
3
4
5
6
7
8
9
#include <iostream>
using namespace std;

int main() {
int a = 25;
cout << a / 4 << endl;    // 6
cout << a / 4.0 << endl;  // 6.25
cout << a / 0 << endl;    // Error    
}