Write a console application and implement the ternary operator to decide whether the
age a user entered after being prompted is allowed to vote or not(given that only citizens
between 18 and 120 years only inclusive can vote). Use exception handling for non-numerical
input.
No Answer is Posted For this Question
Be the First to Post Answer
How many classes are there in classification?
What is for loop in c#?
Can fields inside a class be virtual?
What?s the difference between System.String and System.StringBuilder classes?
Name the method of servicebase class?
When should we use sealed class in c#?
What is overloading and how can this be done ?
What is a Managed Code??
what is the purpose of Interfaces?
Why delegates are type safe?
What is xaml in c#?
What is the correct way of declaring an xml namespace?