Skip to content

Instantly share code, notes, and snippets.

@vikychoi
Created January 4, 2018 13:53
Show Gist options
  • Save vikychoi/682091f70bf1bfa7549a9781531ef6a3 to your computer and use it in GitHub Desktop.
Save vikychoi/682091f70bf1bfa7549a9781531ef6a3 to your computer and use it in GitHub Desktop.
C for multiplying string
#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