Assignemnt #38 Space Boxing

Code

    ///Name: Morgan Kaplan
    ///Period: 5
    ///Project Name: Space Boxing
    ///File Name: SpcaeBoxing.java

 import java.util.Scanner;

public class SpaceBoxing
{
    public static void main( String[] args )
    {
        Scanner momo= new Scanner(System.in);
        
        double Venus, Mars, Jupiter, Saturn, Uranus, Neptune, weight;    
        int number;
            
        System.out.println ( " What is your earth weight? " );
        weight=momo.nextDouble();
        
        System.out.println ( " What planet would you like to visit: 1. Venus, 2. Mars, 3. Jupiter, 4. Saturn. 5. Uranus, or 6. Neptune?" );
        number=momo.nextInt();
        
        if ( number==1 )
		{
			System.out.println( "Your weight would be " + (weight * .78) + "." );
            }
            if ( number==2 )
		{
			System.out.println( "Your weight would be " + (weight * .39) + "." );
            }
            if ( number==3 )
		{
			System.out.println( "Your weight would be " + (weight * 2.65) + "." );
            }
            if ( number==4 )
		{
			System.out.println( "Your weight would be " + (weight * 1.17) + "." );
            }
            if ( number==5 )
		{
			System.out.println( "Your weight would be " + (weight * 1.05) + "." );
            }
            if ( number==6 )
		{
			System.out.println( "Your weight would be " + (weight * 1.23) + "." );
            }
            }
        
}
    

Picture of Output

Assignment 38