Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Steps for Your application will demonstrate the use of system exception incorporate the following requirement into your application. The program will consist of one file
Steps for Your application will demonstrate the use of system exception incorporate the following requirement into your application.
The program will consist of one file the main application class.
Name of class appropriately andname of the gile program.cs the dafault when you create the application
Include documetation at the top of the file that includes
Your name
Date of development
AssignmentCIS performance Assessment User Entry of Age
Description of the class
The main application class must meet the following requirement
Print the line state Your name PA User Entry of Age"
Ask the user to enter their age.
If the age is less than or greater than
Generate an ArgumentOutOfRangeException
Print the exception information
Pront error message
If the value is not an integer
Handle the FormatException
Print the rxception information
Print an error message
Contiune asking the user to enter their age until vaild age is entered
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started