#include<stdio.h> int main() { int i, j, k, m = 10; for(i = 1;i <= 5;i++) { for(j = 1;j < i;j++) { printf(" "); } for(k = 1;k < m;k++) { printf("*"); } m = m - 2; printf("\n"); } return 0; }
No comments:
Write Comments