Tuesday, 19 December 2017

Learn C language Part 13 Print Square using nested loop





#include <stdio.h>

#include <conio.h>



main()

{





int i=0,j=0;







for(i=0;i<5;i++)

{





for(j=0;j<15;j++)

{



printf("*");

}



printf("\n");







} //outer looop





























}




No comments:

Post a Comment

Pass Dynamically Added Html Table Records List To Controller In Asp.net MVC

Controller Code: using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using ...