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:
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:
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. 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started