Skip to content

← Learn to Code — Python, Java, C, SQL & Web

C Practice

Coding challenges from 1★ to 5★.

c 34 Lessons

Every lesson runs in your browser — write real code, press Run, and the tasks check themselves. Free, no account needed, with translated notes paired with English.

Start the course

Lessons in this course

  1. 01 Print a word 1 required task · ★
  2. 02 Print another word 1 required task · ★
  3. 03 Print a sentence 1 required task · ★
  4. 04 Print with a ! 1 required task · ★
  5. 05 Print two lines 1 required task · ★
  6. 06 Print three lines 1 required task · ★
  7. 07 Print a number 1 required task · ★
  8. 08 Add two numbers 1 required task · ★
  9. 09 Subtract 1 required task · ★
  10. 10 Multiply 1 required task · ★
  11. 11 Remainder 1 required task · ★
  12. 12 A number variable 1 required task · ★
  13. 13 Add two variables 1 required task · ★
  14. 14 Multiply two variables 1 required task · ★
  15. 15 Your first function 1 required task · ★
  16. 16 Is it positive? 1 required task · ★
  17. 17 Cube a number 1 required task · ★
  18. 18 The smaller one 1 required task · ★
  19. 19 Square a number 1 required task · ★
  20. 20 Sign of a number 1 required task · ★
  21. 21 Largest of three 1 required task · ★★
  22. 22 Factorial 1 required task · ★★
  23. 23 Greatest common divisor 1 required task · ★★
  24. 24 Count the 1-bits 1 required task · ★★
  25. 25 Sum an array 1 required task · ★★★
  26. 26 Swap two values 1 required task · ★★★
  27. 27 String length 1 required task · ★★★
  28. 28 Count a character 1 required task · ★★★
  29. 29 Reverse in place 1 required task · ★★★★
  30. 30 Palindrome 1 required task · ★★★★
  31. 31 Bubble sort 1 required task · ★★★★
  32. 32 Points with a struct 1 required task · ★★★★
  33. 33 Binary search 1 required task · ★★★★★
  34. 34 Parse an integer 1 required task · ★★★★★

Language reference

/know/reference/c

Log in or create account

IGCSE, A-Level & AP