C 练习实例6

C 语言教程 · 2019-02-21 13:26:46

题目:用*号输出字母C的图案。

程序分析:可先用'*'号在纸上写出字母C,再分行输出。

程序源代码:

实例

// Created by www.codercto.com on 15/11/9. // Copyright © 2015年 码农教程. All rights reserved. // #include "stdio.h" int main() { printf("用 * 号输出字母 C!\n"); printf(" ****\n"); printf(" *\n"); printf(" * \n"); printf(" ****\n"); }

以上实例输出结果为:

用 * 号输出字母 C!
 ****
 *
 * 
 ****

点击查看所有 C 语言教程 文章: https://codercto.com/courses/l/17.html

查看所有标签

Clean Architecture

Clean Architecture

Robert C. Martin / Prentice Hall / 2017-9-20 / USD 34.99

Practical Software Architecture Solutions from the Legendary Robert C. Martin (“Uncle Bob”) By applying universal rules of software architecture, you can dramatically improve developer producti......一起来看看 《Clean Architecture》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具