![]() |
#2
叶纤2020-03-27 17:10
|

#include <iostream>
#include<iomanip>
using namespace std;
int main()
{
int a, b;
cin >> a >> b;
system("cls");
std::cout << setw(12)<<a<<"\n";
cout << setw(2 )<< "+" << setw(10) << b<<endl;
cout << "---------\n";
cout << setw(12) << a + b;
while (true)
{
;
}
return 0;
}
#include<iomanip>
using namespace std;
int main()
{
int a, b;
cin >> a >> b;
system("cls");
std::cout << setw(12)<<a<<"\n";
cout << setw(2 )<< "+" << setw(10) << b<<endl;
cout << "---------\n";
cout << setw(12) << a + b;
while (true)
{
;
}
return 0;
}