题解 | #我是大V#
我是大V
https://www.nowcoder.com/practice/5c329570ba034871a96299df21e80e51
#include<stdio.h> int main() { char a = 'v'; int i = 0; int j = 0; int k = 0; for (i = 3; i > 0; i--) { for (j = 4; j > i; j--) { if (j == 4) { continue; } printf(" "); } printf("%c", a); for (k = 0; k < 2 * i - 3; k++) { printf(" "); } if (i != 1) { printf("%c\n", a); } } return 0; }