Assignemnt #38 and Space Boxing

Code

    /// Name: Kyle Ivy
    /// Period: 5
    /// Program Name: Boxing
    /// File Name: Boxing.java
    /// Date Finished: 11/10/2015
    
    import java.util.Scanner;         
    
    public class Boxing {
    
        public static void main( String[] args ) {
        
            Scanner keyboard = new Scanner(System.in);
            int ew , dank, planet;
            
            System.out.println( "Please enter your current earth weight: " );
            ew = keyboard.nextInt();
            
            if ( ew == 420 )
            {
            System.out.println();
            System.out.println( "ayy lmao." );
            System.out.println();
            }
            
            System.out.println( "I have info for the following planets: " );
            System.out.println( "   1. Venus    2. Mars     3. Jupiter  " );
            System.out.println( "   4. Saturn   5. Uranus   6. Neptune  " );
            System.out.println();
            
            System.out.print( "Which planet are you planning on visiting? " );
            planet = keyboard.nextInt();
            
            if ( planet == 1 )
            {
            System.out.println( "Your weight would be " + (ew * .78) + " on that planet. " );
            }
            if ( planet == 2 )
            {
            System.out.println( "Your weight would be " + (ew * .39) + " on that planet. " );
            }
            if ( planet == 3 )
            {
            System.out.println( "Your weight would be " + (ew * 2.65) + " on that planet. " );
            }
            if ( planet == 4 )
            {
            System.out.println( "Your weight would be " + (ew * 1.17) + " on that planet. " );
            }
            if ( planet == 5 )
            {
            System.out.println( "Your weight would be " + (ew * 1.05) + " on that planet. " );
            }
            if ( planet == 6 )
            {
            System.out.println( "Your weight would be " + (ew * 1.23) + " on that planet. " );
            }
        }
    }
    

prog38.PNG

Assignment 1