We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

This lesson's interactive features are locked, please to keep using them

Character Report

One of our interns built a program that prints information about Fantasy Quest characters. It runs, but some of the data types are wrong.

Assignment

Do not change the meaning of the values, only the syntax around them to change their data type.

Tips

You need to use the correct type-specific syntax for the variables. Here are some examples:

TypeRuleExample
strDouble quotes"Hello"
intWhole number42
floatHas a decimal2.0
boolTrue or FalseTrue