Basic Programming of c 




List of Experiments 


SEQUENTIAL CONTROL STATEMENTS


1 Write a program to Add Two Number


-----------------------------------------------------------------------------------

#include<stdio.h>


int main()

{

int a,b,c;

printf("Enter the first no. =  \n");

scanf("%d",&a);

printf("Enter the second no. =\n");

scanf("%d",&b);

c=a+b;

printf("Sum of two no. = %d",c);


}

-----------------------------------------------------------------------------------