C++ 入门必做的题 看看你的水平有多少
1.给定等式ABCDE其间每个字母代表一个数字,且不一样数字对应不DFG同字母。编程求出这些数字而且打出这个数字的
+DFG算术计算竖式。
───────
XYZDE
2.A、B、C、D、E五名学生有可能参与计算机比赛,基于下列条件判别哪些
人参与了比赛:
(1)A参与时,B也参与;
(2)B和C只要一个人参与;
(3)C和D或许都参与,或许都不参与;
(4)D和E中至少有一个人参与;
(5)假如E参与,那么A和D也都参与。
3.打印一个N
N的方阵,N为每边N=15打印出下面图形
字符的个数(3lt;Nlt;20),要求最TTTTTTTTTTTTTTT
外一层为T,第二层为J,从第三层TJJJJJJJJJJJJJT
起每层依次打印数字1,2,3,...TJ11111111111JT
(右图以N为15为例)TJ12222222221JT
TJ12333333321JT
TJ12344444321JT
TJ12345554321JT
TJ12345654321JT
TJ12345554321JT
TJ12344444321JT
TJ12333333321JT
TJ12222222221JT
TJ11111111111JT
TJJJJJJJJJJJJJT
TTTTTTTTTTTTTTT
先发一部分剩余的打包送出
文档的方式位MHT文档请使用IE打开
入门必做的题.mht
(1. Given the equation ABCDE, each letter represents a number, and different numbers correspond to different numbers.
DFG is the same letter. Program to find these numbers and type that number
DFG arithmetic calculation vertical.
────────
XYZDE
2. Five students A, B, C, D, and E are likely to participate in computer competitions. Which of the following conditions are used to determine
People who participated in the competition:
(1) When A participates, B also participates;
(2) B and C only require one person to participate;
(3) Both C and D may or may not participate;
(4) At least one of D and E is involved;
(5) If E participates, then both A and D also participate.
3. Print an N
Square matrix of N, N is N=15 on each side to print the following figure
The number of characters (3lt; Nlt; 20), requiring the most TTTTTTTTTTTTTTTT
The outer layer is T, the second layer is J, and the third layer is TJJJJJJJJJJJJJT
Print numbers 1,2,3,...TJ11111111111JT
(The picture on the right takes N as 15 as an example) TJ12222222221JT
TJ12333333321JT
TJ12344444321JT
TJ12345554321JT
TJ12345654321JT
TJ12345554321JT
TJ12344444321JT
TJ12333333321JT
TJ12222222221JT
TJ11111111111JT
TJJJJJJJJJJJJJJT
TTTTTTTTTTTTTTTT
Send some of the remaining packages first
The way of the document is MHT document, please use IE to open it
Getting Started Questions.mht)
页:
[1]