I continue to get the C2181 error from VS. The message is "illegal else without if" My stepfather, a software engineer, and I cannot seem to find the issue. Any assistance would be greatly appreciated
Works fine for me except the warning for unused variable 'weight'. But I think there are a few issues:
probably line 28 is incorrect, should be cin >> (typeHorse);
line 51, 69 and 87 have similar problems. For example, line 51 should be if (weightHorse >= 840 && weightHorse <= 1200)
Now it would check if the variable is in the range 840 and 1200 (including both).