Hi. I have an applikation with 7 point variables, i write values to the variables and i whant the applikation to decide wich variable has the highest and lowest variables.
I write values to the variables like this:
PHP Code:
float point1, point2,point3,point4,point5,point6,point7;
printf("point 1: ");
scanf("%f", &point1);
printf("point 2: ");
scanf("%f", &point2);
printf("point 3: ");
scanf("%f", &point3);
printf("point 4: ");
scanf("%f", &point4);
printf("point 5: ");
scanf("%f", &point5);
printf("point 6: ");
scanf("%f", &point6);
printf("point 7: ");
scanf("%f", &point7);