Hi, anyone can tell me what's wrong with this code, I want to calculate the cos of a number but the code don't compile, can anyone help me?
int d,e;
public void act()
{
e=60;
c=(int)(41*Math.cos(Math.toRadians(e)));
}