汽车润滑油怎么用:C语言简单的一个题目

来源:百度文库 编辑:查人人中国名人网 时间:2024/05/05 15:51: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("*");
}