Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Printf Practice | Data
course content

Зміст курсу

C Basics

Printf PracticePrintf Practice

Example: Using Format Specifiers and Variables in Printing

c

main.c

Завдання

  • Assign the value of 100 to the variable named intVariable.
  • Choose an appropriate data type for the variable charVariable.
  • Utilize the printf() function to display the values of both variables in a single call.

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

Все було зрозуміло?

Секція 2. Розділ 8
toggle bottom row
course content

Зміст курсу

C Basics

Printf PracticePrintf Practice

Example: Using Format Specifiers and Variables in Printing

c

main.c

Завдання

  • Assign the value of 100 to the variable named intVariable.
  • Choose an appropriate data type for the variable charVariable.
  • Utilize the printf() function to display the values of both variables in a single call.

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

Все було зрозуміло?

Секція 2. Розділ 8
toggle bottom row
some-alt