Question: Write a program to tell whether a person is a Beatle. Heres the worksheet: The user types a name in B1, and clicks the button.

Write a program to tell whether a person is a Beatle. Heres the worksheet:

Write a program to tell whether a person is a Beatle. Heres

The user types a name in B1, and clicks the button. If the name if John, Paul, George, or Ringo, the program says that the person is a Beatle:

the worksheet: The user types a name in B1, and clicks the

Otherwise, the program shows Not a Beatle.

The program should work for upper- and lowercase characters, and when there are spaces before and/or after the name. For example, jOHn should be identified as a Beatle. I cannot get my code to work. When I type in a Beatles name it gives me the message "Not a Beatle"

As it stands this is how it looks. button. If the name if John, Paul, George, or Ringo, the program Any help would be greatly appreciated!

A 1 First name: George 3 Is that a Beatle? Run

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!