Part 3 - Basic Input

This section covers how to read input using the console and how to convert input to a numeric type so that you can do math with it.

User Input

What to Do?

SUBMIT

Lesson Tutorial - User Input

Part 3 - Keyboard Input.pdf

User Input Assignment

Part 3 - Keyboard Input Assignment.pdf

Files

Hints/Tips/FAQ

Q: My program crashes when I try to convert a non-numeric value.  How can I fix this?

A: In Part 5 we cover error checking by using TryParse() to convert instead of the Convert class.  You are welcome to read ahead if you wish or use the internet to help you.