入门练习4-9时间:2022-12-18 15:56:08 #define _CRT_SECURE_NO_WARNINGS#include <stdio.h>int main(){int a;printf("正整数:");scanf("%d", &a);while (a>0) {if (a % 2)putchar('+');elseputchar('-');a--; }return 0;}