CJCoding With Joseph
15free / daySign inCreate account

A Small Profile

Real programs often combine several different variable types in one message. Declare a string named name set to "Leo", an int named age set to 12, and a char named grade set to 'B'. Then use a single interpolated print statement to produce exactly this line: Leo, age 12, grade B.

Expected Output:

Leo, age 12, grade B.

= newline. The output ends with a newline — print one after the last line.

Hints4 available
Topics:
Variables
1
Tab to indent (Esc then Tab to move on) · Ctrl+Enter to run · Shift+Alt+F to format · Ctrl+Space to expand shortcuts (cw, cr, fori)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.