ragazzi cosa ho sbagliato?![]()
![]()
#include <stdio.h>
int main(void)
{
int contatore;
int enne;
int array[enne];
printf("\nQuanti numeri interi vuoi che vengano ordinati in ordine crescente?\n"); /*quanto č capiente l'array?*/
scanf("%d", &enne);
for (contatore=0; contatore<enne; contatore++) /*loop per enne volte*/
{
printf("\nInserisci un valore intero da ordinare\n");
scanf("%d",&array[contatore]);
}
/*OK, E ORA? IL LOOP FOR E' UNA CAVOLATA, MA PER METTERE IN ORDINE GLI*/
/*ELEMENTI DELL'ARRAY NON SO PROPRIO COME FARE...SONO UN FALLITO!!!*/
return(0);
}