Skip to the task
Layout
Back to classic view

You are looking ahead. Your place is still task 1: Algorithm.

EDITTask 10 of 21 · step 5: Special charactersAdd a table, a path and a percentage
Add a table, a path and a percentage in practice/01/

Before return 0; add six printf lines: an empty line, a table with \t and \", a path with \\ and a percentage with %%.

Checklist

  • Every task is one commit with a clear message.
Details & hint
You write You get
\n a new line
\t a tab: a jump to the next column, every 8 characters
\" a quote "
\\ one \
%% one % (only in a printf string)

\ starts an escape sequence: together with the next character it means one character. % starts a printf format (in topic 2, %d puts a number there), so a real % needs two.

practice 01 CMakeLists.txt Code Diff
UNCHANGED This step does not change this file.
add_executable(p01_hello main.c)