Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- #include <maxmin.h>
- int main(int argc, char *argv[])
- {
- float a, b, max, min;
- printf("Escribe el numero a: ");
- scanf("%f", &a);
- printf("Escribe el numero b: ");
- scanf("%f", &b);
- max=maximo (a, b);
- min=minimo (a, b);
- printf("El maximo es: %f\n", max);
- printf("El minimo es: %f\n", min);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement