+ 1
Open challenge print the pattern using c/c++ only
* * * * * * *
4 Answers
+ 2
https://code.sololearn.com/cD26PC7E8NJ0/?ref=app
not working
+ 1
Jay Matthews i say u need to use c language .
but this is nice one
+ 1
Jay your my teacher thanks a lot.
but i have doubt there is no \n then how they go to new line can you explain
0
#include<stdio.h>
int main()
{
int i,j;
for(i=0;i<=6;i++)
{
if(i!=0)
{
for (j=1;j<i+1;j++)
{
printf("\t");
}
}
printf("*\n");
}
return 0;
}
not a home work .i need different answer to short this program