#include <iostream>using namespace std; int main() { int min = 1; int max = 5; double ch = (double)min / max; std::cout << ch;}
Standard input is empty
0.2
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!