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();
}
enough already articles 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 submit on this blog can be useful for your life and all the people who visit this blog.
you just finished reading the article with the title C# Program to Print ASCII values and characters using a while loop if you intend to bookmark or shre please use the link https://testallforone.blogspot.com/2013/12/c-program-to-print-ascii-values-and.html and do not visit other pages on this blog because it still sangant a lot of information about gadgets from the old to the latest.
Tag :
Csharp,
programming,
programs,
0 komentar:
Posting Komentar