写一段可以显示爱心的C++代码
时间: 2023-11-04 07:47:55 浏览: 66
#include <stdio.h>
int main() {
printf(" ❤️ \n");
printf(" ❤️❤️❤️ \n");
printf("❤️❤️❤️❤️❤️\n");
printf(" ❤️❤️❤️ \n");
printf(" ❤️ \n");
return 0;
}
// Output:
// ❤️
// ❤️❤️❤️
// ❤️❤️❤️❤️❤️
// ❤️❤️❤️
// ❤️
相关推荐
![txt](https://img-home.csdnimg.cn/images/20210720083642.png)
![-](https://csdnimg.cn/download_wenku/file_type_column_c1.png)
![-](https://csdnimg.cn/download_wenku/file_type_column_c1.png)
![-](https://csdnimg.cn/download_wenku/file_type_column_c1.png)
![-](https://csdnimg.cn/download_wenku/file_type_column_c1.png)
![cpp](https://img-home.csdnimg.cn/images/20210720083646.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)