I will enter university next year, Inshallah. But, the problem in my country is that there are no separate gender universities and I don't want to go to any other country. What should I do? Also, I am currently in a mixed gender school. What should I do?
Mixed gender education is haram, what should I do?
First of all I appreciate your paying attention to this matter which made you making research concerning what you should do. Since it is seen that there could be diverse fields of sin in such positions.
Secondly, it doesn’t seem to be haram directly for students to educate in mixed gender location, I think; But as much as I know, according to the viewpoint of Shia-Islam (and probably Sunni view, although I am not exactly aware about Sunni view):
It would be haram if your attendance in those classes leads to sin or perhaps at least the introduction or the start the fields of commiting sin(s).
Thirdly as the final issue, you ought to leave it if you assume it would take you in sin position, otherwise it will be OK it if there is not introduction of sin(s). Besides, don’t forget that education (at least in high degree) is not wajib that … Then the consent of Allah would be better than obtaining higher degree. Meanwhile Allah will give you more success in your life if you ignore it due to Him.
و من الله توفیق / God Bless You