Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class StatementTester {
- public static void main(String[] args){
- Statement s = new Statement("\"I own a teapot floating in space\"");
- System.out.print("The statement " + s.statement + " is ");
- if (s.isProven() == null){
- System.out.print("not proven");
- }
- else if (s.isProven() == false){
- System.out.print(false);
- }
- else{
- System.out.print(true);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement