#include <stdio.h> int main(void) { const int ROWS=0; const int CHARS=4; int row; int line; char ch; ch=‘$‘; for(row=4;row>=ROWS;row--) { for(line=row;line<=CHARS;line++) printf("%c",ch); printf("\n"); } return 0; }
$
$$
$$$
$$$$
$$$$$
时间: 2024-10-14 00:29:23