/*Exercise 4 - Functions

Implement the three functions minimum(), maximum() and multiply() below the main() function.

Do not change the code given in the main() function when you are implementing your solution.*/

#include <stdio.h>

int minimum(int no1, int no2);
int maximum(int no1, int no2);
int multiply(int no1, int no2);

int main() {
   int no1, no2;
   printf("Enter a value for no 1 : ");
   scanf("%d", &no1);
   printf("Enter a value for no 2 : ");
   scanf("%d", &no2);
   printf("%d ", minimum(no1, no2));
   printf("%d ", maximum(no1, no2));
   printf("%d ", multiply(no1, no2));

   return 0;
}
int minimum(int no1, int no2)
  {
    int mi;
    if(no1<no2){
      mi=no1;
    }
      else{
      mi=no2;
    }
  return mi;
  }
int maximum(int no1, int no2)
  {
    int ma;
    if(no1<no2){
      ma=no2;
    }
      else{
      ma=no1;
    }
  return ma;
  }
int multiply(int no1, int no2)
  {
    int mu;
  mu=no1*no2;
  return mu;
  }