Tuesday, 19 December 2017

Learn C language Part 15 Print lower Trianlge pattern nested loop

#include <stdio.h>

#include <conio.h>



main()

{



int i=0,j=0;

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

{





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

{



printf("x");



}

printf("\n");













}

//outer loop end...................



























}




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 ...