Challenge: PrintfChallenge: Printf

Example of printing format specifiers and variables




  1. Give a value to the variable intVariable equals 100.
  2. Select an appropriate data type for the charVariable variable.
  3. Print the values of both variables using the printf() function only once.

Once you've completed this task, click the button below the code to check your solution.

Everything was clear?

Section 2. Chapter 8
toggle bottom row