3088: 练习换行输出
[Creator : ]
Description
使用计算机换行打印输出自己的姓名和学校,第一行展示姓名,第二行展示学校。
除此之外,还可以将endl放在多个内容中间来到达换行的目的。
#include <iostream> using namespace std; int main(){ cout << "hello" << endl << "world"; return 0; }
使用计算机换行打印输出自己的姓名和学校,第一行展示姓名,第二行展示学校。
除此之外,还可以将endl放在多个内容中间来到达换行的目的。
#include <iostream> using namespace std; int main(){ cout << "hello" << endl << "world"; return 0; }