hi i need to do a loop for my following code to increase my number of sides by one till the sin is less than pi and pi is less than tan or sin and tan are both equal to pi. do i start my loop from the int sides = 4 by using the ++ sin <pi <tan .
could you give me a hint in the right direction as i want to learn

import java.math.*;
import java.io.*;
class ged1loop
{
public static void main(String [] args)throws IOException
{
int sides = 4;
System.out.println("the angle of "+ sides+" sides is "+(180/sides) );
double n = (180/ sides);
System.out.println("Sine is: " +Math.sin (Math.toRadians(n)));
System.out.println("Tangent is: " +Math.tan (Math.toRadians(n)));
System.out.println("Sine times by sides : " +Math.sin (Math.toRadians(n))*sides);
System.out.println("Tangent times by sides is: " +Math.tan(Math.toRadians (n))*sides);
}
}