摘要
本文主要阐述了初学者在学习C语言的过程当中,出现频率较高的一类题目,打印输出任意大小的空心菱形。如果说规模大小确定则容易解决,一旦大小由用户输入后,问题往往复杂化了。文章介绍了一种图解法简单轻松的解决此类问题。
This article focuses on the beginner to learn C language in the process,the higher the frequency of a class of topic,print out any size of the hollow diamond.Determine if the size is easy to solve,once the size of the user input,the problem is often complicated.This paper describes a simple and easy graphical method to solve such problems.
出处
《铜仁职业技术学院学报》
2010年第2期37-39,共3页
Academic forum of Tongren Polytechnic College
关键词
C语言
空心菱形
图解法
打印输出
C language
hollow diamond
graphical method
printing output