钻戒对于女人的意义:C语言简单的一个题目

来源:百度文库 编辑:高考问答 时间:2024/04/29 11:32:24
1.prompts the user for the width and height of the box
2. call the function line() and height() with the correct arguments passed in to display the box

void line(int x);
this function prints a line of x‘*’s
1楼的,是有两个变量啊...line height

void line(int x)
{
for(;x>=0;x--)
printf("*");
}