在C语言中编写一个打印右箭头和左箭头图案的程序
/*Program to print the Left and right arrow pattern*/ #include int main() { int r, c, rows; //Left Arrow Pattern int r1, c1, rows1; //Right Arrow Pattern clrscr(); printf("Enter number of rows to print the Left Arrow Pattern: "); scanf("%d", &rows); printf("
"); for(r=1; r