C# Program to check entered value is character, integer or special symbol - with the rapid development of today's technology we must enrich our knowledge of gadgets, because every day there are many new gadgets that are made with advantages, in blogs
Stephanie News we will meriview many gadgets from various brands ranging from the specification and its price .. Now we will discuss first about C# Program to check entered value is character, integer or special symbol please see our explanation to finish:
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();
}
we feel the information C# Program to check entered value is character, integer or special symbol that's all.
hopefully the information C# Program to check entered value is character, integer or special symbol that we have conveyed can provide benefits for you and all visitors of this blog, if any criticism and suggestions please comment.
you just read C# Program to check entered value is character, integer or special symbol if this article is considered useful and you want to bookmark and share it please use the link https://stephaniefulke.blogspot.com/2013/12/c-program-to-check-entered-value-is.html and what if you want other information look for another page in this blog.
Tag :
Csharp,
programming,
programs,
BalasHapuspug puppies for sale,pug puppies for sale near me
teacup pugs for sale,teacup pugs,teacup pug puppies for sale,teacup pug for sale near me,pug for sale near me,pug puppies for sale under,teacup pugs,pug puppies near me,teacup pugs,teacup pug puppies for sale,pug puppy for sale,mini pug,baby pugs for sale,pug breeders near me,pugs puppies for sale,black pug puppies for sale,miniature pug,pug puppies,pugs for sale near me,pugs for sale near me,pugs puppies,teacup pug puppies for sale,pugs for sale,baby pugs for sale
Pug pupies for sale
pug puppies for sale near me
pug puppy for sale near me
teacup puppies for sale near me
Pug puppies for sale
pugs for sale
french bulldog puppies for sale
French Bulldog Puppy for sale near me