Home / C# Programming / Control Instructions - c# :: Discussion

Discussion :: Control Instructions - c#

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

  2. 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}
    E.
      if ( Condition1 ) {// Some statement}
      else if ( Condition2 ) {// Some statement}
      else if ( Condition3 ) {// Some statement} 
      else {// Some statement}

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    No answer description available for this question.


Be The First To Comment