Question
int i = 1, j = 1, val;
while (i < 25)
{
Console.Write(j + " ");
val = i + j;
j = i;
i = val;
}
a.
Prime
b.
Fibonacci
c.
Palindrome
d.
Odd
Posted under C# programming
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. The C#.NET code snippet given below generates ____ numbers series as output?
Similar Questions
Discover Related MCQs
Q. Which of the following is the incorrect form of Decision Control instruction?
View solution
Q. Which of the following statements is correct?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond C# programming? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!