This was a second part to an introduction to Visual C#. My students were creating a trivia program (Useless Trivia) where they gathered information from a user (name, age, weight, and height) and used that information to tell the user some interesting, but not too useful information about themselves (such as their Body Mass Index, which is actually quite useful, unless it tells you your BMI is infinity).

It covers converting string input into numbers (primarily floats and doubles). It also uses the TryParse() and Math.Pow() methods, and it covers software testing at the most basic level.

Loading more stuff…

Hmm…it looks like things are taking a while to load. Try again?

Loading videos…