-->
当前位置:首页 > 题库

单选题:The following program is to find out the maximum in a group of p

Luz5年前 (2021-05-10)题库740
The following program is to find out the maximum in a group of positive data (inputting 0 as a cutoff), fill in the blank.
```
#include
int main()
{
int a,max=0;
scanf("%d",&a);
while (a!=0){
if(max __________;
scanf("%d",&a);
}
printf("%d",max);
return 0;
}
```
@[B](1)

A. a=max
B. max=a
C. a==max
D. max==a




A.a=max
B.max=a
C.a==max
D.max==a


答案:B