I am performing the following exercise:
Afterafewattempts,Icameupwiththefollowingfinalcode:intproximo_da_media(int*vec,intdim){inti,*pos;floatmedia,soma=0,diferenca;pos=vec;//inicializarponteirofor(i=0;i<dim;i++)soma+=*(vec+i);//fazasomadeto...
asked by
31.03.2018 / 19:16