母亲节祝福代码(部分!)期待各位同学的代码!!!

root 站长 2022-05-01 19:43:15 2022-05-11 16:05:22 2
#include <iostream>
#include <windows.h>

using namespace std;

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