using System;
public class Program
{
// Lesson 26: Do While Loops
public static void Main()
int x = 5;
/*
while(x > 6)
Console.WriteLine("Hello");
}
*/
do
x++;
while(x > 6);
string response = Console.ReadLine();
while( response == "again")
response = Console.ReadLine();
string response;
while(response == "again");
// Unlike the while loop, the do-while loop has no code duplicity.
// Duplicated code in the example while loop:
// Console.WriteLine("Hello");
// response = Console.ReadLine();