Skip to content

Instantly share code, notes, and snippets.

@bparanj
Created April 11, 2018 09:11
Show Gist options
  • Save bparanj/4c02dfe31a13ee75ec3b753b2af6eac1 to your computer and use it in GitHub Desktop.
Save bparanj/4c02dfe31a13ee75ec3b753b2af6eac1 to your computer and use it in GitHub Desktop.
#include <stdio.h>
int main()
{
int count, i;
count = 0;
for(i = 1; i <= 3; i++) {
count += i;
}
printf("%d \n", count);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment