📌  相关文章
📜  c程序使用条件运算符查找最少5个数字 - C编程语言代码示例

📅  最后修改于: 2022-03-11 15:04:35.010000             🧑  作者: Mango

代码示例1
//C program to find Smallest among five numbers using ternary operator

#include

void main()
{
  // Variable declaration
   int a,b,c,d,e,small;

   printf("Enter five number\n");
   scanf("%d %d %d %d %d",&a,&b, &c, &d, &e);

 // Smallest among a, b, c and d
   small = ( (a