google.com, pub-8786015629279405, DIRECT, f08c47fec0942fa0 WAP to Find Smallest Number of Three in C

WAP to Find Smallest Number of Three in C

0
#include<stdio.h>
#include <conio.h>

   void main()

{
                  int x, y, z;


                  printf(" Enter three Integer numbers for x, y, z : ");


                  scanf("%d %d %d", &x, &y, &z);


                  if((x < y)&&(x < z))

                  {

                  printf("\n x is smallest : %d",x);

                  }

                  else


                 {


                 if(y < z)

                 {
                 printf("\n y is smallest : %d",y);

                 }
                 else

                 {
                 printf("\n z is smallest : %d",z);

                  }

                 }

    }

Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.

Thank you for your interest 😊

We will back shortly after reviewing...

Thank you for your interest 😊

We will back shortly after reviewing...

Post a Comment (0)

#buttons=(Accept !) #days=(20)

Our website uses cookies to enhance your experience. Learn More
Accept !
To Top