object Main extends App {val a = 2val d = 3.1val res = d + aSystem.out.println(res); }
1 2.2 10 42 11
5.1
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!