i nt sum = 0; f or (int i = 0; i < 3; i++) { sum += i; } Console.WriteLine("Sum of "+ i +" numbers is " +sum);
Login in to like
Login in to comment
or Read more about C# Quizzes
Login in to like
Login in to comment