#include <stdio.h> int main(){ int n = 2; while (n <= 21) { printf("%d", n); n=n*3; }}
Standard input is empty
2618
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!