+ 1
c++
Please type in a code that declares two variables of type int and prints their sum to the screen. int x = 4; y = 7; int sum = x _ y; cout << "sum equals to " << ____<< endl;
3 Antworten
+ 2
int x = 4;
int
y = 7;
int sum = x
+
y;
cout << "sum equals to " <<
sum
<< endl
0
int x = 4;
int y = 7;
int sum = x+y;
cout << "sum equals to " << sum << endl;