Question: 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
Assignment(CIS214 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 1 or greater than 100
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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!