Skip to content · ⁨Lompat ke konten⁩

← Learn to Code — Python, Java, C, SQL & Web · ⁨Belajar Memrogram — Python, Java, C, SQL & Web⁩

C Practice · ⁨Praktis C⁩

Coding challenges from 1★ to 5★. · ⁨Cabaran pengaturcaraan dari 1★ hingga 5★.⁩

c 34 Lessons · ⁨Pelajaran⁩

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. · ⁨Setiap pelajaran berjalan di browser Anda — tulis kode nyata, tekan Jalankan, dan tugas memeriksa dirinya sendiri. Gratis, tidak perlu akun, dengan catatan terjemahan yang dipasangkan dengan bahasa Inggris.⁩

Start the course · ⁨Mulai kursus⁩

Lessons in this course · ⁨Pelajaran dalam kursus ini⁩

  1. 01 Print a word · ⁨Cetak satu perkataan⁩ 1 required task · ★
  2. 02 Print another word · ⁨Cetak satu perkataan lagi⁩ 1 required task · ★
  3. 03 Print a sentence · ⁨Cetak satu ayat⁩ 1 required task · ★
  4. 04 Print with a ! · ⁨Cetak dengan !⁩ 1 required task · ★
  5. 05 Print two lines · ⁨Cetak dua baris⁩ 1 required task · ★
  6. 06 Print three lines · ⁨Cetak tiga baris⁩ 1 required task · ★
  7. 07 Print a number · ⁨Cetak satu nombor⁩ 1 required task · ★
  8. 08 Add two numbers · ⁨Tambah dua nombor⁩ 1 required task · ★
  9. 09 Subtract · ⁨Tolak⁩ 1 required task · ★
  10. 10 Multiply · ⁨Darab⁩ 1 required task · ★
  11. 11 Remainder · ⁨Baki⁩ 1 required task · ★
  12. 12 A number variable · ⁨Pembolehubah nombor⁩ 1 required task · ★
  13. 13 Add two variables · ⁨Tambah dua pembolehubah⁩ 1 required task · ★
  14. 14 Multiply two variables · ⁨Darab dua pembolehubah⁩ 1 required task · ★
  15. 15 Your first function · ⁨Fungsi pertama anda⁩ 1 required task · ★
  16. 16 Is it positive? · ⁨Adakah ia positif?⁩ 1 required task · ★
  17. 17 Cube a number · ⁨Kuasa tiga satu nombor⁩ 1 required task · ★
  18. 18 The smaller one · ⁨Yang lebih kecil⁩ 1 required task · ★
  19. 19 Square a number · ⁨Kuasa dua satu nombor⁩ 1 required task · ★
  20. 20 Sign of a number · ⁨Isyarat satu nombor⁩ 1 required task · ★
  21. 21 Largest of three · ⁨Terbesar bagi tiga nombor⁩ 1 required task · ★★
  22. 22 Factorial · ⁨Faktorial⁩ 1 required task · ★★
  23. 23 Greatest common divisor · ⁨Pengangka persekutuan terbesar⁩ 1 required task · ★★
  24. 24 Count the 1-bits · ⁨Kira bit 1⁩ 1 required task · ★★
  25. 25 Sum an array · ⁨Jumlahkan satu senarai⁩ 1 required task · ★★★
  26. 26 Swap two values · ⁨Tukar dua nilai⁩ 1 required task · ★★★
  27. 27 String length · ⁨Panjang string⁩ 1 required task · ★★★
  28. 28 Count a character · ⁨Kira satu karakter⁩ 1 required task · ★★★
  29. 29 Reverse in place · ⁨Undur di tempat⁩ 1 required task · ★★★★
  30. 30 Palindrome · ⁨Palindrom⁩ 1 required task · ★★★★
  31. 31 Bubble sort 1 required task · ★★★★
  32. 32 Points with a struct · ⁨Titik dengan struktur⁩ 1 required task · ★★★★
  33. 33 Binary search · ⁨Pencarian biner⁩ 1 required task · ★★★★★
  34. 34 Parse an integer · ⁨Huraikan integer⁩ 1 required task · ★★★★★

Language reference · ⁨Referensi Bahasa⁩

/know/reference/c

Log in or create account · ⁨Masuk atau buat akun⁩

IGCSE, A-Level & AP