#include <iostream>using namespace std; int main() { int a=100, b=6;double f;f=(double)a/ (double)b;printf("%2.2f",f);}
Standard input is empty
16.67
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!