hi. 2 all
anyone can tell what is the wrong with this code? the result of this program is :
cos(60)=-0.952413
sin(60)=-0.304811
#include <iostream.h>
#include <math.h>
main()
{
float x,y,z;
y=cos(60);
z=sin(60);
cout<<"cos(60)="<<y<<endl;
cout<<"sin(60)="<<z<<endl;
}
cheers