04 2019 档案

摘要:#include<stdio.h>int main(){ int a; double rate,tax,profit; scanf("%d",&a); if(a<500) { printf("a=%d,rate=0,tax=0,profit=%f",a,a); } else if((a>=500)& 阅读全文
posted @ 2019-04-25 16:12 P201821430036 阅读(85) 评论(0) 推荐(0) 编辑
摘要:#include<stdio.h> int main() { float a,b,c; printf("输入三条边:\n"); scanf("%f%f%f",&a,&b,&c); if(a+b>c&&b+c>a&&a+c>b) { if(a==b&&a==c) printf("等边三角形"); el 阅读全文
posted @ 2019-04-25 15:46 P201821430036 阅读(116) 评论(0) 推荐(0) 编辑
摘要:# include <stdio.h>int main(){ int year,month=2,days;printf("input the year:");scanf("%d",&year);if(((year%100!=0)&&(year%4==0))||((year%100==0)&&(yea 阅读全文
posted @ 2019-04-25 15:02 P201821430036 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-04-25 14:56 P201821430036 阅读(73) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-04-11 15:19 P201821430036 阅读(150) 评论(0) 推荐(0) 编辑