C Program To Add Two Given Numbers


The C language is a structure oriented programming language, developed at Bell Laboratories in 1972 by Dennis Ritchie and Brian Kernighan.

See also : Hello World in C

Download Turbo C from the following link - https://docs.google.com/file/d/0B0OYNqLoqKCWbkZLWnNTc1dNZk0/edit

Program to Add Two Numbers in 'C' -



#include<stdio.h>
#include<conio.h>
int main()
{
int a,b,c;
clrscr();
printf("Enter the First Number\n");
scanf("%d",&a);
printf("Enter the Second Number\n");
scanf("%d",&b);
c=a+b;
printf("Sum of given numbers = %d\n",c);
getch();
}





Comments

Popular posts from this blog

Artificial Intelligence

Smart Card

Biometrics