#include<stdio.h>
      int main()
      {
          int a , b, max;
          printf("Enter any two numbers\n");
          scanf("%d %d", &a, &b);
          max=a>b?a:b;
          printf("the highest number is %d", max);
          return 0;
      }
      
      C language logo

      highest number

      0

      0

      avatar
      omtajne11

      code to find highest number among any two numbers using conditional operator

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.