← Learn to Code — Python, Java, C, SQL & Web · 编程入门 — Python, Java, C, SQL & Web
C Practice · C 练习
Coding challenges from 1★ to 5★. · 1★ 到 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. · 每节课均在浏览器中运行——编写真实代码,点击运行,任务自动检查。免费,无需账户,配有与英文对照的翻译笔记。
Lessons in this course · 本课程中的课程
No lessons match. Clear the search or choose another filter. · 没有匹配的课时。请清空搜索或选择其他筛选条件。
- 01 Print a word · 打印一个单词 1 required task · 1 个必做任务 · ★
- 02 Print another word · 再打印一个单词 1 required task · 1 个必做任务 · ★
- 03 Print a sentence · 打印一句话 1 required task · 1 个必做任务 · ★
- 04 Print with a ! · 用感叹号打印 1 required task · 1 个必做任务 · ★
- 05 Print two lines · 打印两行 1 required task · 1 个必做任务 · ★
- 06 Print three lines · 打印三行 1 required task · 1 个必做任务 · ★
- 07 Print a number · 打印一个数字 1 required task · 1 个必做任务 · ★
- 08 Add two numbers · 两数相加 1 required task · 1 个必做任务 · ★
- 09 Subtract · 减法 1 required task · 1 个必做任务 · ★
- 10 Multiply · 乘法 1 required task · 1 个必做任务 · ★
- 11 Remainder · 求余数 1 required task · 1 个必做任务 · ★
- 12 A number variable · 数字变量 1 required task · 1 个必做任务 · ★
- 13 Add two variables · 变量相加 1 required task · 1 个必做任务 · ★
- 14 Multiply two variables · 变量相乘 1 required task · 1 个必做任务 · ★
- 15 Your first function · 你的第一个函数 1 required task · 1 个必做任务 · ★
- 16 Is it positive? · 是正数吗? 1 required task · 1 个必做任务 · ★
- 17 Cube a number · 求立方 1 required task · 1 个必做任务 · ★
- 18 The smaller one · 较小的那个 1 required task · 1 个必做任务 · ★
- 19 Square a number · 求平方 1 required task · 1 个必做任务 · ★
- 20 Sign of a number · 数的符号 1 required task · 1 个必做任务 · ★
- 21 Largest of three · 三个数的最大值 1 required task · 1 个必做任务 · ★★
- 22 Factorial · 阶乘 1 required task · 1 个必做任务 · ★★
- 23 Greatest common divisor · 最大公约数 1 required task · 1 个必做任务 · ★★
- 24 Count the 1-bits · 数 1 的位 1 required task · 1 个必做任务 · ★★
- 25 Sum an array · 数组求和 1 required task · 1 个必做任务 · ★★★
- 26 Swap two values · 交换两个值 1 required task · 1 个必做任务 · ★★★
- 27 String length · 字符串长度 1 required task · 1 个必做任务 · ★★★
- 28 Count a character · 统计某个字符 1 required task · 1 个必做任务 · ★★★
- 29 Reverse in place · 原地反转 1 required task · 1 个必做任务 · ★★★★
- 30 Palindrome · 回文 1 required task · 1 个必做任务 · ★★★★
- 31 Bubble sort · 冒泡排序 1 required task · 1 个必做任务 · ★★★★
- 32 Points with a struct · 用结构体表示点 1 required task · 1 个必做任务 · ★★★★
- 33 Binary search · 二分查找 1 required task · 1 个必做任务 · ★★★★★
- 34 Parse an integer · 解析整数 1 required task · 1 个必做任务 · ★★★★★