// Sample Solution
using System;
namespace WhileLoop
{
class Program
{
static void Main(string[] args)
{
int emails = 20;
while(emails > 0)
{
emails--;
Console.WriteLine("Deleting an email!");
Console.WriteLine($"{emails} left.");
}
Console.WriteLine("INBOX ZERO ACHIEVED!");
}
}
}
No comments:
Post a Comment