Displaying "*" symbol 20 times in c| |Display * in c|
C program to display the symbol "*" 20 times
code:
#include<stdio.h>
int main()
{
int i, n=20;
for(i=0; i<n; n--)
printf("\n*");
return 0;
}
note: You can also use any symbols in the place of "*".
Comments
Post a Comment