Thursday 21 December 2017

Learn C language Part 17 Sum of Arrays values





#include <stdio.h>

#include <conio.h>



main()

{



int x[6]; // array declaration......



x[0]=100;

x[1]=100;

x[2]=501;

x[3]=603;

x[4]=905;

x[5]=545;

int i,sum=0;







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

{



sum=sum+x[i];



}



printf("%d",sum);





}


Learn C language Part 16 Basic Introduction to Array





int x[5]; // array declaration......



x[0]=78;

x[1]=100;

x[2]=67;

x[3]=96;

x[4]=90;

printf("%d\n",x[4]);

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