上课要注意听讲啊......
(1)C语言程序
#include "stdio.h"
main()
{ int min,max;
int i,temp;
scanf("%d",max);
scanf("%d",min);
if(max { temp=max; max=min; min=temp; } for(i=2;i<100;i++) { scanf("%d",temp); if(temp>max) max=temp; if(temp min=temp; } Printf("Max Number=%d,Min Number=%d\n",max,min); } (2)流程图
上一篇:女主是快穿文的,有次穿到了一个校园文被里面的病娇男配看上
下一篇:德奥钢琴