惊喜

Altman 生姜 2022-06-12 20:17:50 2022-06-28 21:30:41 1

...... (一阵坏笑)

#include <iostream>
#include <windows.h>

using namespace std;

int a[20][1000] = { {0, 1, 1, 1, 1, 0, 1, 1, 1, 0, 0}, {1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0}, {1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0}, {1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0}, {0, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1}, {0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1}, {0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 1}, {0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1}, {0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1}, {0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1}, {1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 0} }; int main() { system("color 1E"); //颜色百度搜索c++控制台颜色代码自己调颜色 jh: //第一个英文单词 HAPPY,我下面写了一个h字母,剩下的自己补上 for (int i = 0; i < 11; i ++ ) //行数不用改 { for (int j = 0; j < 11; j ++) //要修改 { Sleep(100); if (a[i][j] == 0) cout << ""; else cout <<"" ; } cout << endl; } cout << endl; string b[7] = {"", "", "", "", "", "", ""}; for(int i = 0; i < 7; i ++ ) { Sleep(100); cout << b[i]; } puts(""); Sleep(1000); system("cls"); goto jh; //第二个英文单词 MOTHER'S ,新创造一个二维数组b,参考a数组 //第三个英文单词 DAY!, 新创造一个二位数组c,参考a数组 //当然也可以自己创造英文单词!!! return 0; }

(不怀好意)

{{ vote && vote.total.up }}

共 3 条回复

Eil5

B没弄好。

Altman 生姜

bi

CPP 刷题王

🐺