🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
# C 控制流程示例 > 原文: [https://www.programiz.com/c-programming/c-decision-making-loops-examples](https://www.programiz.com/c-programming/c-decision-making-loops-examples) #### 在本文中,您将找到 C 程序列表,以增强对决策语句和循环的了解。 要了解此页面上的所有示例,您应该了解以下主题: * [`if...else`语句](/c-programming/c-if-else-statement "if...else Statement in C programming") * [`for`循环](/c-programming/c-for-loop "for Loop in C programming") * [`while`循环](/c-programming/c-do-while-loops "while loop in C programming") * [`break`和`continue`](/c-programming/c-break-continue-statement "C break and continue") * [`switch...case`](/c-programming/c-switch-case-statement "switch Statement in C programming") * * * ## C 控制流程示例 + [检查数字是偶数还是奇数](/c-programming/examples/even-odd) + [检查字符是元音还是辅音](/c-programming/examples/vowel-consonant) + [在三个数字中找到最大的数字](/c-programming/examples/largest-number-three) + [找出二次方程的所有根](/c-programming/examples/quadratic-roots) + [检查输入的年份是否为闰年](/c-programming/examples/leap-year) + [检查数字是正数还是负数或零](/c-programming/examples/negative-positive-zero) + [检查字符是否为字母](/c-programming/examples/alphabet) + [求自然数的总和](/c-programming/examples/sum-natural-numbers) + [查找数字的阶乘](/c-programming/examples/factorial) + [生成乘法表](/c-programming/examples/multiplication-table) + [显示斐波那契数列](/c-programming/examples/fibonacci-series) + [查找两个数字的 HCF](/c-programming/examples/hcf-gcd) + [查找两个数字的 LCM](/c-programming/examples/lcm) + [计数整数的位数](/c-programming/examples/digits-count) + [反转数字](/c-programming/examples/reverse-number) + [计算数字的幂](/c-programming/examples/power-number) + [检查号码是否是回文](/c-programming/examples/palindrome-number) + [检查整数是否为质数](/c-programming/examples/prime-number) + [显示两个间隔之间的质数](/c-programming/examples/prime-number-intervals) + [检查阿姆斯特朗数](/c-programming/examples/check-armstrong-number) + [显示两个间隔之间的阿姆斯特朗数](/c-programming/examples/Armstrong-number-interval) + [显示数字的因子](/c-programming/examples/factors-number) + [打印金字塔和三角形](/c-programming/examples/pyramid-pattern) + [创建一个简单的计算器](/c-programming/examples/calculator-switch-case)