Padd Solutions

Converted by Falcon Hive

import java.util.Scanner;

public class Shelly
{
    public static void main (String[] args)
    {
        Scanner FRUCKYOUDALE = new Scanner (System.in);
       
        String name, gender;
       
        System.out.print ("Please enter your name: ");
        name = FRUCKYOUDALE.nextLine ();
        System.out.print ("Please type in your gender. ");
        gender = FRUCKYOUDALE.nextLine ();
        gender = gender.toLowerCase ();
       
        if (name.equals ("Shelly"))
        {
            System.out.println ("I dont beleive you are a " +gender);
        }
       
        else
        {
            System.out.println ("Meh, idc :P");
        }
    }
}

(0) Comments

Post a Comment