Advertisement
CGallardo

testmaxmin.c

Feb 13th, 2017
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.26 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <maxmin.h>
  3.  
  4. int main (void)
  5. {
  6.     float a, b, max, min;
  7.     scanf("Escribe dos numeros %f %f", &a, &b);
  8.     max=maximo (a, b);
  9.     min=minimo (a, b);
  10.  
  11.     printf("/nEl maximo es: %f", max);
  12.     printf("/nEl minimo es: %f", min);
  13. return();
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement