Tecno Mobile Phones, Huawei, Firmware Flash File, Android Jelly Bean, Facebook Page, iPhone Apple, Symphony Firmware, Lava iris, samsung

C# Program to check entered value is character, integer or special symbol

C# Program to check entered value is character, integer or special symbol - technological developments continue to grow rapidly, old technologist replaced with the latest, on the blog Tecno Mobile Phones we will discuss various updated technology from various brands around the world, well now we will discuss first about C# Program to check entered value is character, integer or special symbol we collect a lot data from various reliable sources to make this article, please read:

Articles : C# Program to check entered value is character, integer or special symbol
full Link : C# Program to check entered value is character, integer or special symbol
Article Csharp, Article programming, Article programs,

You can also see our article on:


C# Program to check entered value is character, integer or special symbol

C# Program to check entered value is character, integer or special symbol

Program Statement:
Write a program which takes one value from user and check whether the entered value is character, integer or special symbol.

Solution:
 static void Main(string[] args)
{
char value;
int a;
Console.WriteLine("Enter value to check Character, integer or special symbols ");
value = Convert.ToChar(Console.ReadLine());
a=(int)value;
if (a >= 65 && a <= 90 || a >= 97 && a <= 122)
Console.WriteLine("Entered Value is Character");
else if(a>=48 && a<=57)
Console.WriteLine("Entered Value is Integer");
else if(a>=0 && a<=47 || a>=58&&a<=64 || a>=91&&a<=96 || a>=123&&a<=127)
Console.WriteLine("Entered Value is Special Symbols");
else
Console.WriteLine("Invlaid input :(");
Console.ReadLine();
}




just so much information about C# Program to check entered value is character, integer or special symbol

hopefully C# Program to check entered value is character, integer or special symbol information can provide benefits for you in adding insight about the latest gadget technology

you just read the article about C# Program to check entered value is character, integer or special symbol and can you bookmark or share with link https://ghchjgv.blogspot.com/2013/12/c-program-to-check-entered-value-is.html so thank you.

Tag : , , ,
Share on Facebook
Share on Twitter
Share on Google+

Related : C# Program to check entered value is character, integer or special symbol

  • How to change IP addressPeople want to change  IP address for a variety of reasons. The Internet Protocol (IP) address is popularly known as the IP address. This private address is used by ...
  • C# Program to Print Triangle in Square C# Program to Print Triangle in SquareProgram Statement:Write a program which display the following output on the screen.####$#######$#$#####$###$###$#####$#$#######$Sol ...
  • How to create your own chrome app to launch a website http://ghchjgv.blogspot.com /chrome" target="_blank">Google chrome is awesome with great bookmark manager and even chrome app stores which can give you everything you n ...
  • How do i begin learning code?Hello people! We Intelligent Computing are about to start a whole new section on Programming but before we start on that I would highly recommend you to read this articl ...
  • C# Program to Print half Diamond shapes using numbersC# Program to Print half Diamond shapes using numbers 1 to 10Program Statement:Write a program to produce the following output:            ...

0 komentar:

Post a Comment