爱问知识人 爱问教育 医院库

v c程序怎么写表白代码

首页

v c程序怎么写表白代码


        

提交回答
好评回答
  • 2023-07-31 19:00:00

    C++版控制台画出心形的代码实现:

    1、C++表白代码如下:

    #include "stdafx.h"

    #include

    using namespace std

    int main(){

    int i, j

    cout << " ****** *******" << endl

    cout << " xxxlovexxx xxxlovexxx" << endl

    cout << " ************ *************" << endl

    for (i = 0 i < 3 i++)

    {

    for (j = 0 j < 29 j++)

    cout << "*"

    cout << endl

    }

    for (i = 0 i < 7 i++)

    {

    for (j = 0 j < 2 * (i + 1) - 1 j++)

    cout << " "

    for (j = 0 j < 27 - i * 4 j++)

    cout << "*"

    cout << endl

    }

    for (i = 0 i < 14 i++)

    cout << " "

    cout << "*"

    cout << endl

    return 0

    }

    张***

    2023-07-31 19:00:00

  • 生活 相关知识

  • 生活
  • 日常生活

相关推荐

正在加载...
最新问答 推荐信息 热门专题 热点推荐
  • 1-20
  • 21-40
  • 41-60
  • 61-80
  • 81-100
  • 101-120
  • 121-140
  • 141-160
  • 161-180
  • 181-200
  • 1-20
  • 21-40
  • 41-60
  • 61-80
  • 81-100
  • 101-120
  • 121-140
  • 141-160
  • 161-180
  • 181-200
  • 1-20
  • 21-40
  • 41-60
  • 61-80
  • 81-100
  • 101-120
  • 121-140
  • 141-160
  • 161-180
  • 181-200
  • 1-20
  • 21-40
  • 41-60
  • 61-80
  • 81-100
  • 101-120
  • 121-140
  • 141-160
  • 161-180
  • 181-200

热点检索

  • 1-20
  • 21-40
  • 41-60
  • 61-80
  • 81-100
  • 101-120
  • 121-140
  • 141-160
  • 161-180
  • 181-200
返回
顶部
帮助 意见
反馈

确定举报此问题

举报原因(必选):