funcionqueasignamasdeunnumero(alumno)
DESCRIPTION
Clase de brogramacion de la UNIProgramacion digital.TRANSCRIPT
-
/* CONSTRUYA UN PROGRAMA QUE EN LA FUNCION PRINCIPAL SE CARGUEN N DATOS NUMERICOS, EN UNA FUNCION SE DEBE OBTENER CUAL ES EL MAYOR Y MENOR DATO Y QUE POSICION OCUPAN DENTRO DE LA RELACION DE DATOS, DICHA FUNCION OBTENIDA DEBE IMPRIMIRSE EN UNA TERCERA FUNCION.*/
#include#includeint datos[20];void DD(int);void imprimir();int max/*=datos[1]*/,pmax,min/*=datos[1]*/,pmin,i;//Es distinto igualar...//...antes que hacerlo despues de ingresar un dato.
void main(){ int nd,i; coutnd; for(i=0;i