Yes, you can open FOPEN_MAX files simultaneously. It's a macro constant defined in stdio.h
Show us what have you done already, what do you have problem with. It looks like you want someone to do your homework for you.
Correction printf("Error opening file %s\n", argv[1]);
Function counting BMI float bmi(float weight, float height) { return (weight * 703) / (height * height); } You should end program in case...
Separate names with a comma.