Let's Learn Java Programming..... Through Lots of Coding Examples For Each Topic. Now Go For It ..!
How to Print this pattern ? #include int main() { int n, c, k; printf("Enter number of rows\n"); scanf("%d", &n); for (c = 1; c <= n; c++) { for (k = 1; k <= c; k++) printf("*"); printf("\n"); } return 0; }