I'm trying to make a program which you choose an angle
You have written

rad = angulo*0,0174533;


But, C++ uses the american decimal notation:

rad = angulo*0.0174533;


Thus, you have been multiplying angulo by zero every time.