测评会员优惠活动进行中 · 开通 VIP,有效期内测评不限次 VIP 优惠中 · 测评不限次 立即查看

A69170. 执行下列C++代码,输入3,输出结果为?( )#include<iostream>

单选题

题目描述

执行下列C++代码,输入3,输出结果为?( )

#include<iostream>
using namespace std;
int main(){
  int n;
  cin >> n;
  cout << n - 3;  
  return 0;
}

选项(单选)