Examples of six C language

Title: output pattern of the letter C with an asterisk.

Analysis procedure: first with '*' sign on paper written letters C, and then output branches.

#include "stdio.h"
int main()
{
printf("用 * 号输出字母 C!\n");
printf(" ****\n");
printf(" *\n");
printf(" * \n");
printf(" ****\n");
}

Here Insert Picture Description

Guess you like

Origin blog.csdn.net/weixin_44097082/article/details/95304387