Add two number in c language


#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,sum=0;
clrscr();
printf("enter a value for a=");
scanf("%d",&a);
printf("enter value for b=");
scanf("%d",&b);
sum=a+b;
printf("%d",sum);
getch();
}

Comments

Popular posts from this blog

Layout design in Android Studio

how to make pendrive bootable

How to hack wifi password-2017