#include<stdio.h>int main(){int k=0,I,P=1;for(I=1;I<=10;I+=2){k=k+2*I;k+=1;P++;if(P==3)printf("%d",k);}return 0;}
Standard input is empty
10
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!