Assignemnt #52 and Worst Code /// Name: Yordan Rashkov /// Period: 7 /// Program Name: Worst /// File Name: Worst.java /// Date Finished: 11/23/2015 import java.util.Scanner; class Worst{ public static void main(String[] args) { Scanner keyboard = new Scanner(System.in); double z, s; s = 5; System.out.println(); System.out.println(); System.out.println("Welcome to the WORST Number guessing game ever"); System.out.println(); System.out.println(); System.out.print("I'm thinking of a number between 1 and 10. Try and guess it! "); z = keyboard.nextDouble(); System.out.println(); System.out.println(); if ( z == s ) { System.out.println(); System.out.println(); System.out.println("You got it, I can't believe you actually got that it was " + s + "!!!!!"); System.out.println(); System.out.println(); } else { System.out.println(); System.out.println(); System.out.println(" OMG how did you not know it was " + s); System.out.println(); System.out.println(); } } }