#include<iostream.h> #include<conio.h> void main() { clrscr(); int a,b,c; cout<<"Enter two numbers to add\n"; cin>>a>>b; c = a+b; cout<<"Sum of entered numbers = " << c << endl; getch(); }
No comments:
Post a Comment