#include <stdio.h> int main() { int i, j, num; printf("Enter a number: "); scanf("%d",&num); printf("\n"); for(i = 0; i < num; i++) { for(j = 0; j < num; j++) { printf("*"); } printf("\n"); } return 0; }
No comments:
Write Comments