public class B1 {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
double r;
int a = 1;
int b = 3;
while(true) {
r = (double)a/b;
if(r < 0.6180345 && r > 0.6180335) {
}
r = (double)b/a;
if(r < 0.6180345 && r > 0.6180335) {
}
}
System.out.println((double)1364/2207);
System.out.println((double)843/1364);
}
}
阅读全文
收起全文