Assignemnt #55 and Worst2 Code /// Name: Yordan Rashkov /// Period: 7 /// Program Name: Worst2 /// File Name: Worst2.java /// Date Finished: 11/26/2015 import java.util.Scanner; class Worst2{ 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 #2"); 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, 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(); } } }