Monday, 6 February 2017

How To Add Two numbers Through C Programming

Hi Friends
Today I Am going to show you How can you add two numbers through c programming

This is the basic program of c language

Lets start

#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,s;
clrscr();

// entry of two numbers//
printf("Enter first no:=");
scanf("%d",&a);
printf("\nEnter 2nd number=");
scanf("%d",&b);

//addition
s=a+b;

printf("\n sum =",s);
getch();
}


Video Screenshot


EmoticonEmoticon

:)
:(
hihi
:-)
:D
=D
:-d
;(
;-(
@-)
:P
:o
:>)
(o)
:p
:-?
(p)
:-s
(m)
8-)
:-t
:-b
b-(
:-#
=p~
$-)
(y)
(f)
x-)
(k)
(h)
cheer