Created
January 4, 2018 13:53
-
-
Save vikychoi/682091f70bf1bfa7549a9781531ef6a3 to your computer and use it in GitHub Desktop.
C for multiplying string
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> | |
main() | |
{ | |
int i; | |
int p; | |
for(i = 1; i <=16; i++) | |
{ | |
for (p=1; p<=i; p++) | |
{ | |
printf("**"); | |
} | |
printf("\n"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment