fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int i,k=0;
  5. for(i=1;i<6;i=i+4)
  6. {
  7. k=k+i;
  8. }
  9. printf("%d",k);
  10. // your code goes here
  11. return 0;
  12. }
  13.  
Success #stdin #stdout 0s 5472KB
stdin
Standard input is empty
stdout
6