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

Discussion :: Control Instructions - c#

  1. The C#.NET code snippet given below generates ____ numbers series as output?

    int i = 1, j = 1, val; 
    while (i 25) 
    {   
         Console.Write(j + " ");   
         val = i + j;    
         j = i;     
         i = val; 
    }
    

  2. A.

    Prime

    B.

    Fibonacci

    C.

    Palindrome

    D.

    Odd

    E.

    Even

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    No answer description available for this question.


Be The First To Comment