* * * * * * * *
* * * * * * *
* * * * * *
* * * * *
* * * *
* * *
* *
*
Solutions Code :-
/*Creat a pattern of asterik(star's) from 8-1 */
#include
int main(void)
{
int i,f ,l = 8;
for ( i = 8 ; i >= 1 ; i--)
{
for(f = 1 ;f <= l ;f++)
{
printf(" %c",42);
continue;
}
l = l-- ;
printf("\n");
}
}
No comments:
Post a Comment