i have a run time check error

i am working on a group project and arter i wrote this i kept getting a runtime error this is a single module in a seamtress program that will input all the diffrent sizes and store them into a clients folder

#include <stdio.h>
#include <string.h>

int main (void)

char *Items[] = {"\nBust", "\nWaist", "\nHips", "\nBack Width", "\nFront Chest", "\nShoulder", "\nNeck Size", "\nSleeve", "\nUnder Bust", "\nWrist", "\nUpper Arm", "\nCalf", "\nAnkle", "\nNape To Waist", "\nWaist To Hip", "\nFront Shoulder To Waist", "\nOutside Leg", "\nInside Leg" };
int sizes[] = {0.00, 0.00, 0.00, 0.00, 0.00, 0.00};
char askthem[] = {"Please enter the appropriate values in inches for each item"};
char tellthem[] = {"here is what you put"};
char *erorfound = {"You have entered a value that is inappropriate"};

printf("%s", askthem);
for (int i = 0; i < 18; ++i)
printf("%s : ", Items[i]);
scanf("%f", &sizes[i]);


sizes has 6 elements. You're trying to stuff 18 into it.
thank you for the help
Topic archived. No new replies allowed.