Zebra0.com

cpp ifelseUse a variable for grade

Use a variable for grade

In this example, we assign the letter grade to a variable. Notice that letter is char (character). Characters are single letters. Use double quotes to enclose strings, but single quotes to enclose characters.