#include <stdio.h>
int main(void)
{
// insert code here…
const int ROWS=5;
const int CHARS=5;
int row;
int ch;
for(row=0;row<ROWS;row++)
{
for(ch=5-row;ch<=CHARS;ch++)
printf("%c",’$’);
printf("\n");
}
printf(“Hello, World!\n”);
return 0;
}
C Primer Plus第六版编程练习6.2
最新推荐文章于 2024-07-24 18:23:35 发布