04 2020 档案

摘要:1 #include <stdio.h> 2 #include <string.h> 3 #include <stdlib.h> 4 #include <ctype.h> 5 #include <math.h> 6 typedef struct{//类型定义another变量为该结构原型 7 cha 阅读全文
posted @ 2020-04-30 14:19 四字又名 阅读(175) 评论(0) 推荐(0)
摘要:要求如下 void prtf(double * a,double * b,double *c){ double max,min,th,sum=*a+*b+*c; max= *a > ( *b > *c ? *b : *c) ? *a : ( *b > *c ? *b : *c);//取最大值 //a 阅读全文
posted @ 2020-04-23 14:44 四字又名 阅读(270) 评论(0) 推荐(0)
摘要:在学习C语言时,我遇到了一个难题,题目是这样的,折腾了半天 1 #include<stdio.h> 2 void main(void){ 3 char ch,y='A'; 4 scanf("%c",&ch); 5 int x=ch-y,a,b,c; 6 //X记录需要循环的次数,a负责循环控制每行的 阅读全文
posted @ 2020-04-21 23:03 四字又名 阅读(564) 评论(0) 推荐(0)