Write a program in C Language to find Smallest of 3 numbers without using if else or any conditional operators.

#include<stdio.h>
#include<conio.h>
int small_number(int num1, int num2, int num3)
{
int counter = 0;
while ( num1 && num2 && num3 )
{

num1–; num2–; num3–; counter++;
}
return counter;
}

int main()
{
int num1, num2,num3 ;
printf(“Enter the 1st no:: “);
scanf(“%d”,&num1);
printf(“Enter the 2nd no:: “);
scanf(“%d”,&num2);
printf(“Enter the 3rd no:: “);
scanf(“%d”,&num3);
printf(“\nThe smallest number is %d”, small_number(num1, num2, num3));
return 0;
getch();
}