Homework Introduction

主要内容:

  • Dev C++ 使用
  • C++ 基础代码框架
#include <iostream>
using namespace std;

int main() {


	return 0;
}
  • 输出字符串:cout << "Hello World!" << endl;
  • 输出数字:
cout << 123 << endl;
cout << 1 + 2 << endl;
cout << 1 - 2 << endl;
cout << 10 / 3 << endl;
cout << 10 * 1.0 / 3 << endl;
cout << 10 % 3 << endl;

注意事项:整数相除结果自动取整,解决方案,给分子乘以1.0。

Problem

Please claim the assignment to see the problems.
Status
Live...
Problem
5
Open Since
2024-2-5 0:00
Deadline
2036-8-23 23:59
Extension
24 hour(s)