《C语言程序设计》江宝钏主编-习题1-3-新年好

AC代码:

/*
Description 
编写程序在屏幕上显示:
*****************************
       Happy New Year!
*****************************
注意:
29个星号,Happy New Year!首字母大写,中间1个空格隔开,末尾有英文叹号。
H之前7个空格,叹号之后没有空格。
一共3行,中间没有空行。
Input 
没有输入
Output 
*****************************
       Happy New Year!
*****************************
*/


#include <stdio.h>
int main()
{
    printf("*****************************\n");
    printf("       Happy New Year!\n");
    printf("*****************************");
    return 0;
}
发布了7 篇原创文章 · 获赞 1 · 访问量 288

猜你喜欢

转载自blog.csdn.net/qq_45599068/article/details/104082835