#include <stdio.h>int main(){int i,n;scanf("%d",&n);while(i<=n){printf("%d",i*2);i++;}return 0;}
10
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!