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

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

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

#include

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

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

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