DSA SheetLesson · no judge

CODE DRILL 1 · RUN ONLY

Write it, run it, read the output

This is a scratch drill — your code runs, nothing is graded or recorded. No test cases, no expected output, no verdict.

TASK

Fill the five marked slots with 42, 3.5, 'A', "A", and true so each variable receives the requested literal category. Print the five values in token card order.

C++
Loading editor…

OUTPUT

Sample
42
3.5
A
A
true

What a finished answer prints, from the lesson. Nothing has run yet — press Run and this is replaced by your program’s own output.

Previous · What is C++?Next part · Code drill 2