-
个人简介
推荐网址
请看题解(禁止搬运/违者封号):
努力解题中🀄
别看题解,千万别看章节 1. 输出专项训练
#P1. 【例2.1】Hello World
#include<iostream> using namespace std; int main(){ cout<<"hello world"; return 0; }#P4. 练2.2 单句春晓
#inlcude<iostream> using namespace std; int main() { cout<<"春眠不觉晓,处处蚊子咬。"; return 0; }#P7. 练3.1 唐诗春晓
#include<iostream> using namespace std; int main() { cout<<"春晓"<<endl; cout<<"春眠不觉晓,\n处处蚊子咬。\n"; cout<<"夜来嗡嗡声,\n脓包知多少。\n"; return 0; }#P5. 【例3.1】 输出表达式的值
#include<iostream> using namespace std; int main() { cout<<"1234*5678"<<1234*5678; return 0; }#P6. 【例3.2】 打印长方形
#include<iostream> using namespace std; int main() { int j=17; int line = 10; int column = 18; char str[]="ABCDEFGHIJKLMNOPQR"; for (int i = 0; i < line; i++) { for (int j = i; j > 0; j--) { cout << str[j]; } for(int q=0;q<=j;q++) { cout<<str[q]; } j--; cout << endl; } return 0; }#P8. 练3.2 雪花
#include<iostream> using namespace std; int main() { cout<<"1+2+3+4"<<"="<<1+2+3+4; return 0; } -
通过的题目
-
最近活动
-
最近编写的题解
This person is lazy and didn't write any solutions.
题目标签
- 一本通编程启蒙
- 22