Skip to content

Instantly share code, notes, and snippets.

@musoftware
Created August 15, 2015 16:59
Show Gist options
  • Save musoftware/605aab7f81472e05c343 to your computer and use it in GitHub Desktop.
Save musoftware/605aab7f81472e05c343 to your computer and use it in GitHub Desktop.
sum_logical
int sum = 0;
int input = 10000000000;
for(int i =0;i <= input;i++){
sum += i;
}
Console.WriteLine(sum);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment