using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LearningAgain
{
class WhileLoopwithCharacters
{
public static void Main()
{
//defining 'a' to be the letter A
char a = 'a';
// while the letter a is less than letter M
while (a <= (char)('a' + 12))
{
//Console writes letter A
System.Console.WriteLine(a);
//adds 1 to the ascii code of a until reaches m
//96 + 1 (ex)
a++;
}
}
}
}
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LearningAgain
{
class WhileLoopwithCharacters
{
public static void Main()
{
//defining 'a' to be the letter A
char a = 'a';
// while the letter a is less than letter M
while (a <= (char)('a' + 12))
{
//Console writes letter A
System.Console.WriteLine(a);
//adds 1 to the ascii code of a until reaches m
//96 + 1 (ex)
a++;
}
}
}
}