Question
Java language While in the future you can make a more fun knock knock joke, for now your program will generate any 1 knock knock
Java language
While in the future you can make a more fun knock knock joke, for now your program will generate any 1 knock knock joke that you like best.
In this program the user is expected to enter a proper response as shown in the green font below. Your program will prompt the user (black text below) and eventually respond with a joke punchline.
Output:
Knock, knock (black text)
Who's there? (green text)
Annie (black text)
Annie who? (green text)
Annie thing you a do I can better! (black text)
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