write a c program to write two number
Answers
Answered by
0
to add
/header file/,
/variable declaration/,
phir,
printf ("enter two number");
scanf(%d%d,&a,&b);
sum=a+b;
printf ("addition of two number is %d\n"sum)
gerch();
}
/header file/,
/variable declaration/,
phir,
printf ("enter two number");
scanf(%d%d,&a,&b);
sum=a+b;
printf ("addition of two number is %d\n"sum)
gerch();
}
Answered by
0
Answer:
#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
int a, b;
cout<<"\nEnter first number";
cin>>a;
cout<<"\nEnter second number";
cin>>b;
cout<<"\n Two numbers are"<<a<<b;
getch();
}
Similar questions