/*
Name: simple program in c++
Copyright: www.micted.weebly.com
Author: Nawaraj Ghimire
Date: 19/10/13 15:12
Description:Add two number using cout and cin operator
*/
#include<conio.h>
#include<iostream.h>
#include<iomanip.h>
#include<stdio.h>
class cal
{
private:
int a, b;
int sum;
public:
void get()
{
cout<<"Enter tha value of a";
cin>>a;
cout<<"enter the value of b";
cin>>b;
sum=a+b;
cout<<setw(3)<<"Sum:"<<setw(2)<<sum;
}
};
void main()
{
clrscr();
cal a1;
a1.get();
getch();
}