Menu
×
×
正确
int x, y;
int sum;
cout << "Type a number: ";
@(3) >> @(1);
cout << "Type another number: ";
@(3) >> @(1);
sum = x + y;
cout << "Sum is: " << @(3);
int x, y;
int sum;
cout << "Type a number: ";
cin >> x;
cout << "Type another number: ";
cin >> y;
sum = x + y;
cout << "Sum is: " << sum;
不正确
点击 此处 重试 正确
下一题 ❯int x, y; int sum; cout << "Type a number: ";w3exercise_input_no_0>>w3exercise_input_no_1; cout << "Type another number: ";w3exercise_input_no_2>>w3exercise_input_no_3; sum = x + y; cout << "Sum is: " <<w3exercise_input_no_4; |