Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

math.sin in 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");
}
 
PREVIOUS NEXT
Tagged: #java
ADD COMMENT
Topic
Name
9+3 =