I really am starting to feel stupid because i no theres only something tiny wrong with this.. im using a for loop to read in values from the keyboard into an array but after i enter in the 5th value i get an error message..
Code:#include <stdio.h>
main()
{
float euro[4];
int i;
for (i=0; i<5; i++)
{
printf("Please enter no.%d value",i+1);
scanf("%f",&euro[i]);
}
}