Math.sin en Java

double pi = Math.PI;
double ans = Math.sin(pi/2);  //Input is in radians
if(ans==1){
	System.out.println("You Find it");
}
else{
  	System.out.println("You are unlucky today");
}
Zany Zebra