#include<stdio.h> int main() { int n; printf("Enter your number : "); scanf("%d",&n); printf("\n"); for(int i=0;i<n;i++) { for(int j=0;j<=i;j++) { printf("*"); } printf("\n"); } printf("\n"); return 0; }
Subscribe in a reader
Through the contact form
0 comments:
Post a Comment