This program is about print the pattern as square up to the given limits using For Loop
#include<stdio.h> int main() { int i,n,a; printf("\nEnter the value:"); scanf("%d",&a); for(i=1;i<=a;i++) { printf("\n"); for(n=1;n<=a;n++) { printf(" *"); } } return 0; }To download raw file Click Here
Enter the value:5 ***** ***** ***** ***** *****
Learn All in Tamil © Designed & Developed By Tutor Joes