create a flowchart that finds the largest of 4 numbers. your chart will take four numbers as input and it will output the largest on.
參考答案:the largest one
题目要求画该问题的流程图,示意如下,用矩形框和箭头标识即可
比较表达式用菱形标注
a,b,c,d
a>b
Y N
a>c b>c
Y N Y N
a<d c>d b>d c>d
Y N Y N Y N Y N
a d c d b d c d