已采纳回答 / 慕容7641251
一、#include <stdio.h>int main(){ int a,b; printf("请输入小于等于40的数字"); scanf("%d",&a); if(a < 0) b = 0; else if(a >= 0 && a < 20) b = a; else if(a >= 20 && a <= 40) b = -0.5*a+20; ...
2018-04-27