Starting from:
$35

$29

Project 02 Solution

Summary
Create a console application that asks users a series of questions, confirming their input and then printing a summary back at the end.

Details
Starting with a premade C# console application in Visual Studio, create an application that asks the user a series of questions. At least one question must ask the user for a purely string response (such as their name) and one question must ask the user for a purely integer response (such as their age). The responses must be checked against at minimum int.TryParse. The questions must be broken out into individual methods. At the end, the user’s information must be printed back to the screen to the user.

The application should continue asking the series of questions, until the user closes the application.

Hint
int.TryParse allows you to check an input to see if it is an integer or not. You’ll need another built-in method to check if a string contains any numbers.

Grading
Assignment is worth 25 points. You will be graded on:

Correctly asking users for at least one string response and one integer
Questions broken out into individual methods
Using an if and switch statement in your code
Use of int.TryParse and of an additional method for checking for integers in strings and strings in integers
Correctly turning in the assignment – naming convention, correct files submitted
Submitting
Turn in your zipped solution folder to Blackboard. Make sure to name the zipped file firstInitialLastName_proj02. For example, cBoyd_proj02.zip.

More products