2024-12-07 19:51:35 +08:00
|
|
|
#include <iostream>
|
|
|
|
|
|
|
|
using namespace std;
|
|
|
|
|
2024-12-07 20:25:22 +08:00
|
|
|
void output(){ //循环输出1-100
|
|
|
|
for(int i = 1; i <= 100; i++){
|
|
|
|
cout << i << endl;
|
|
|
|
}
|
|
|
|
return;
|
|
|
|
}
|
2024-12-07 19:51:35 +08:00
|
|
|
|
2024-12-07 20:25:22 +08:00
|
|
|
int main() {
|
|
|
|
output();
|
2024-12-07 19:51:35 +08:00
|
|
|
cout << "hello world!" << endl;
|
2024-12-07 20:12:08 +08:00
|
|
|
cout << "hello too!" << endl;
|
2024-12-07 19:51:35 +08:00
|
|
|
return 0;
|
|
|
|
}
|