Write a program and input two integers in main and pass them to the constructor of the class. Show the result of the addition of two numbers.
Write a program and input two integers in main and pass them to the constructor of the class. Show the result of the addition of two numbers.
输入
5 4
输出
9
The main function is provided, you only need to complete the Addition Class:
int main(){
int a,b;
cin>>a>>b;
Addition add(a,b);
cout<<add.showAddition()<<endl;
}