#include <iostream>using namespace std; double square (double x){ return x*x;}int main() { cout << square(100.5) << endl;}
Standard input is empty
10100.2
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!