• Welcome to Smashboards, the world's largest Super Smash Brothers community! Over 250,000 Smash Bros. fans from around the world have come to discuss these great games in over 19 million posts!

    You are currently viewing our boards as a visitor. Click here to sign up right now and start on your path in the Smash community!

Unsolvable Java Error

Velox

Smash Ace
Joined
Feb 14, 2007
Messages
866
Location
Texas (UoH)
This is the most reeeeeeeeeeeeeeeeeeeeediculous error I have ever seen. Can anyone solve this? Run this code and tell me what's wrong...


import java.io.*;
import java.awt.*;
import java.text.*;
import java.util.*;

public class ******** {

public static void main(String[] args) throws Exception {

double d = Math.PI * (1.0 / 4);
boolean wtf = (d < ((1.0 / 2) Math.PI));
System.out.println(wtf);

}

}



?????????????????????????????????????????????????????x10^10000000000000:confused::confused::confused:

Fast responses would be awesome, thanks in advance.
 

Goldberg

Smash Apprentice
Joined
Mar 20, 2008
Messages
194
What's that supposed to do?

It gave me build errors, so I added an * before Math.PI on your definition of wtf and it returned true.
 

Goldberg

Smash Apprentice
Joined
Mar 20, 2008
Messages
194
:laugh: It's not like I had anything better to do, this reminded me of some programming pranks on school.
 
Top Bottom