#include<iostream.h>
#include<conio.h>
main()
{
int a,b,sum;
cout<<"Enter Two numbers:";
cin>>a;
cin>>b;
sum=a+b;
cout<<"sum of two numbers are:" <<sum;
getch();
}
#include<conio.h>
main()
{
int a,b,sum;
cout<<"Enter Two numbers:";
cin>>a;
cin>>b;
sum=a+b;
cout<<"sum of two numbers are:" <<sum;
getch();
}
#include <iostream>
using namespace std;
class Mathematics {
int x, y;
public:
Void input() {
cout << "Input two inetegersn";
cin >> x >> y;
}
void add() {
cout << "Result = " << x + y;
}
};
int main()
{
Mathematics m; // Creating object of class
m.input();
m.add();
return 0;
}
using namespace std;
class Mathematics {
int x, y;
public:
Void input() {
cout << "Input two inetegersn";
cin >> x >> y;
}
void add() {
cout << "Result = " << x + y;
}
};
int main()
{
Mathematics m; // Creating object of class
m.input();
m.add();
return 0;
}
# include
# include
void main()
{
clrscr();
int a,b,c;
cin>>a;
cin>>b;
c=a+b;
cout
# include
void main()
{
clrscr();
int a,b,c;
cin>>a;
cin>>b;
c=a+b;
cout
A solution of c++ program code to rotate and capitalize multi -word sentence