📜  输入输出c++代码示例

📅  最后修改于: 2022-03-11 14:44:45.888000             🧑  作者: Mango

代码示例1
#include 
int main() {
  int year; //variable created as a integer
  std::cin >> year;//It takes input from the user
  std::cout << "Year: " << year; //It prints output on the screen
}