Created
January 2, 2019 04:20
-
-
Save mraza007/3d92f1d51f315568655385e2f5313812 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main() | |
{ | |
int num; | |
int squares; | |
int count; | |
// for loop terminates when n is less than count | |
for(count = 0; count < 1000000; count++) | |
{ | |
squares = count*count; | |
printf("%d", squares); | |
} | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment