Today I took my midterm exam for one of my classes. I saw that a student next to me was using her phone, and as I turned my head she hid it. At the end of the exam I wrote a note to my professor, I didn't mention the person's name, but I said that such type of behavior is not acceptable and that he should notice it next time.
I am kind of nervous that I will get in trouble for it, Did I do the right thing? What if the professor penalizes me? I studied really hard for this exam and I figured that it wasn't fair for my classmates and I to see a cheater get a good grade, and us a lower grade.