Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Perform these actions and create a console app in C# that includes the following: 1 . Ask the user for their age. 2 . Display

Perform these actions and create a console app in C# that includes the following: 1. Ask the user for their age. 2. Display the year the user was born. 3. Exceptions must be handled using a try/catch.4. Display appropriate error messages if the user enters zero or negative numbers. 5. Display a general message if an exception was caused by anything else. 6. Add comments to each line of your code to explain what it does exactly, so that another developer could read and understand your code.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introduction To Database And Knowledge Base Systems

Authors: S Krishna

1st Edition

9810206208, 978-9810206208

More Books

Students also viewed these Databases questions

Question

1. Write down two or three of your greatest strengths.

Answered: 1 week ago

Question

What roles have these individuals played in your life?

Answered: 1 week ago

Question

2. Write two or three of your greatest weaknesses.

Answered: 1 week ago