C语言比较三个整数

#include <stdio.h>

int main() {
   int a, b, c;

   a = 11;
   b = 22;
   c = 33;

   if ( a > b && a > c )
      printf(%d is the largest., a);
   else if ( b > a && b > c )
      printf(%d is the largest., b);
   else if ( c > a && c > b )
      printf(%d is the largest., c);
   else   
      printf(Values are not unique);

   return 0;
}

相关文章

for遍历数组
。。。
声明一个计数循环
咕咕咕
#include <stdio.h> int main (void) { printf (&quo...