C# Program to Print ASCII values and their equivalent characters using a while loop
Problem Statement:
Write a program to print all the ASCII values and their equivalent characters using a while loop. The ASCII values vary from 0 to 255.
Solution:
static void Main(string[] args)
{
int i=0;
Console.WriteLine("ASCII Char");
while (i <= 255)
{
Console.WriteLine(i+" "+(char)i);
i++;
}
Console.ReadLine();
}
so much information C# Program to Print ASCII values and characters using a while loop
hopefully the information C# Program to Print ASCII values and characters using a while loop that we convey could be useful for you in searching the latest gadget information on google
you just read the article with title C# Program to Print ASCII values and characters using a while loop you can bookmark for easy return visit or you can also share so this article can be more useful for many people by using link https://shwesetharrking.blogspot.com/2013/12/c-program-to-print-ascii-values-and.html umpteen and thank you.
Tag :
Csharp,
programming,
programs,
0 komentar:
Posting Komentar