C++ :
#include<bits/stdc++.h> using namespace std; double a; int main() { while(cin>>a) printf("%.2f\n",a); return 0; }
Pascal :
program p(input,output); var a:real; begin while not eof(input) do begin readln(a); writeln(a:0:2); end; end.
By signing up a 算道OJ universal account, you can submit code and join discussions in all online judging services provided by us.
Using your 算道OJ universal account