C program only in two loops -
i want write c program having following output. there condition. should done maximum 2 loops only.
output * * * * * * * * * * * * * * *
any appreciated. thanks
here code without loop.
int main() { printf(" *\n"); printf(" * *\n"); printf(" * * *\n"); printf(" * * * *\n"); printf("* * * * *\n"); return 0; }
Comments
Post a Comment