Integer sum Sum=0 Do i=1,100,1 Sum=sum+i Enddo Print*,sum Stop End
1 2 2 -1
5050
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!