x <- 1for (i in 1:10) { x <- x * i}print(x)
Standard input is empty
[1] 3628800
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!