1.

Which of the following is the incorrect form of Decision Control instruction?

A. if (Condition1) {// Some statement}
B. if (Condition1) {// Some statement} else {// Some statement}
C. if (Condition1) {// Some statement} else {// Some statement} else if ( Condition2){//Some statement}
D. if ( Condition1 ) {// Some statement} else if ( Condition2 ) {// Some statement} else {// Some statement}
Answer» D. if ( Condition1 ) {// Some statement} else if ( Condition2 ) {// Some statement} else {// Some statement}


Discussion

No Comment Found

Related MCQs