【正文】
e if statements forms:,(2)In form2 and forme3,there is a semicolon in front of else, also in the end of all statements.,(3)Behind if or else,it may include only one operate statements,also include many statements ,but should be drawed together with brace.({ }),?,Ex: include main() { int x,y。 scanf(“%f ,%f,%f”, },Return,?,include main() { int a,b。 else max=b。,max = 6;,?,(2) Condition operator overmatch assigned operator,but under relation and arithmetic operator.,(3)Condition operator’s combined direcion is from right to left.,ex1:max=(ab) ? a : b。,ex3:max= ab ? a : c d ? c:d ;,max= ab ? a : (c d ? c:d)。,(5)The type of expression 1 and expression 2 can be same,also be different.,ex: int x。Finally,output this letter。 scanf(“ %f ” , },Return,?,Algorithm 2: input x ifx0 y=1 output y,Algorithm 3: input x ifx0 y=1 else: ifx=0 y=0 else: y=1 ouput y,?,p1: main() {float x。 else y=1。,p4:modify to: y=0。