#CH016. 赋值语句

    ID: 242 Type: Objective Tried: 0 Accepted: 0 Difficulty: (None) Uploaded By: Tags>信息学奥赛导学(C++语言基础入门)

赋值语句

阅读程序,填写对应的输出结果

int x = 9, y = 3;  
cout << x << ' ' << y << endl;  
x = x + 2;  
y += x;  
cout << x << ' ' << y << endl;  
y -= x;  
y = x % y + x;  
cout << x << ' ' << y << endl;  

第一次输出:{{ input(1) }}

第二次输出:{{ input(2) }}

第三次输出:{{ input(3) }}