Write a Java program that asks the user for a word, phrase, or sentence and checks whether his input data is an isogram, a pangram, a palindrome, or none of these. Notice a phrase can be a combination of isogram and pangram; such a phrase is called perfect pangram; for example: "Mr. Jock, TV quiz PhD., bags few lynx". Your program should also recognize if the given word/phrase is a palindrome that is pangram too (i.e.; a palindromic pangram). Your program should allow the user to have as many attempt as they wish. The user must have at least one try. Check the following Figures for sample runs.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
fast pls. java
Sample run 1:
run:
------ -------- Welcome to Play with Words--- -----------
Please enter a word, phrase, or sentence: Fundamentals of Object Oriented Programming
"Fundamentals of Object Oriented Programming " >>> does not have any interesting linguistic phenomena.
------ --- ------ --- ---
Would like to play again: yes
Please enter a word, phrase, or sentence: xnylwefsgabdhpziuqutkcojrmrjocktvquizphdbagsfewlynx
"xnylwefsgabdhpziugvtkcojrmrjocktvquizphdbagsfewlynx" >>» is a palindromic pangram.
---.
---------------------
Would like to play again: Y
Please enter a word, phrase, or sentence: Mr. Owl ate my metal worm
"Mr. Owl ate my metal worm" >>> is a Palindrome.
------ ---------------------
Would like to play again: yessssssss
Please enter a word, phrase, or sentence: By Jove, my quick study of lexicography won a prize!
"By Jove, my quick study of lexicography won a prize!" >>> is a Pangram.
------ --------- ---- ----
Would like to play again: yes please
Please enter a word, phrase, or sentence: GQ's oft lucky whiz Dr. J, ex-NBA MVP
"GQ's oft lucky whiz Dz. J, ex-NBA MVP" >>> is a Perfect Pangram.
-*--------*----- -*
Would like to play again: y
Please enter a word, phrase, or sentence: The big dwarf only jumps
"The big dwarf only jumps" >>> is an Isogram.
------ ---- ----- -------
Would like to play again: yup
Please enter a word, phrase, or sentence: computerizably
"computerizably" >>> is an Isogram.
----- --- ---- --- ---
Would like to play again: Y
Please enter a word, phrase, or sentence: noon
"noon" >>> is a Palindrome.
- --- --
Would like to play again: no
Thank you for playing :)
BUILD SUCCESSFUL (total time: 3 minutes 45 seconds)
2/3
Sample run 2:
run:
---*---*--*------- Welcome to Play with Words-*-*----*-*-----*---
Please enter a word, phrase, or sentence: Good luck
"Good luck" >>> does not have any interesting linguistic phenomena.
----------------- -------
Would like to play again: quit
Thank you for playing :)
BUILD SUCCESSFUL (total time: 34 seconds)
Transcribed Image Text:Sample run 1: run: ------ -------- Welcome to Play with Words--- ----------- Please enter a word, phrase, or sentence: Fundamentals of Object Oriented Programming "Fundamentals of Object Oriented Programming " >>> does not have any interesting linguistic phenomena. ------ --- ------ --- --- Would like to play again: yes Please enter a word, phrase, or sentence: xnylwefsgabdhpziuqutkcojrmrjocktvquizphdbagsfewlynx "xnylwefsgabdhpziugvtkcojrmrjocktvquizphdbagsfewlynx" >>» is a palindromic pangram. ---. --------------------- Would like to play again: Y Please enter a word, phrase, or sentence: Mr. Owl ate my metal worm "Mr. Owl ate my metal worm" >>> is a Palindrome. ------ --------------------- Would like to play again: yessssssss Please enter a word, phrase, or sentence: By Jove, my quick study of lexicography won a prize! "By Jove, my quick study of lexicography won a prize!" >>> is a Pangram. ------ --------- ---- ---- Would like to play again: yes please Please enter a word, phrase, or sentence: GQ's oft lucky whiz Dr. J, ex-NBA MVP "GQ's oft lucky whiz Dz. J, ex-NBA MVP" >>> is a Perfect Pangram. -*--------*----- -* Would like to play again: y Please enter a word, phrase, or sentence: The big dwarf only jumps "The big dwarf only jumps" >>> is an Isogram. ------ ---- ----- ------- Would like to play again: yup Please enter a word, phrase, or sentence: computerizably "computerizably" >>> is an Isogram. ----- --- ---- --- --- Would like to play again: Y Please enter a word, phrase, or sentence: noon "noon" >>> is a Palindrome. - --- -- Would like to play again: no Thank you for playing :) BUILD SUCCESSFUL (total time: 3 minutes 45 seconds) 2/3 Sample run 2: run: ---*---*--*------- Welcome to Play with Words-*-*----*-*-----*--- Please enter a word, phrase, or sentence: Good luck "Good luck" >>> does not have any interesting linguistic phenomena. ----------------- ------- Would like to play again: quit Thank you for playing :) BUILD SUCCESSFUL (total time: 34 seconds)
The purpose of this assignment is to practice OOP with Fundamental of Data Type, Constructing Objects and
Classes, Decisions, Loops.
Introduction:
In English vocabulary there are many interesting and meaningful phenomena, such as isogram, pangram,
malapropisms, anagram, palindrome, etc., which leave a “room" for language-learners to enthusiastically discover
secret, surprise, and something different instead of negatively listing words. They make the boring vocabulary
lesson an interactive practical course that helps to grasp interest of students as English language-learners.'
Some of these interesting linguistic phenomena² are:
Isogram: referred to a word, phrase, or sentence in which no letter of the alphabet occurs more than once.
For example; the words "ambidextrously", “endolymphatic", and “unpredictably".
Pangram: A phrase or sentence containing all 26 letters of the alphabet (ideally repeating as few letters
as possible). For example; the sentence: “Brown jars prevented the mixture from freezing too quickly".
Palindrome: a word, number, phrase, or other sequence of characters which reads the same backward as
forward, such as “madam", “racecar", or "Was it a car or a cat I saw".
Problem:
Write a Java program that asks the user for a word, phrase, or sentence and checks whether his input data is an
isogram, a pangram, a palindrome, or none of these. Notice a phrase can be a combination of isogram and
pangram; such a phrase is called perfect pangram; for example: “Mr. Jock, TV quiz PhD., bags few lynx". Your
program should also recognize if the given word/phrase is a palindrome that is pangram too (i.e.; a palindromic
pangram). Your program should allow the user to have as many attempt as they wish. The user must have at least
one try. Check the following Figures for sample runs.
Transcribed Image Text:The purpose of this assignment is to practice OOP with Fundamental of Data Type, Constructing Objects and Classes, Decisions, Loops. Introduction: In English vocabulary there are many interesting and meaningful phenomena, such as isogram, pangram, malapropisms, anagram, palindrome, etc., which leave a “room" for language-learners to enthusiastically discover secret, surprise, and something different instead of negatively listing words. They make the boring vocabulary lesson an interactive practical course that helps to grasp interest of students as English language-learners.' Some of these interesting linguistic phenomena² are: Isogram: referred to a word, phrase, or sentence in which no letter of the alphabet occurs more than once. For example; the words "ambidextrously", “endolymphatic", and “unpredictably". Pangram: A phrase or sentence containing all 26 letters of the alphabet (ideally repeating as few letters as possible). For example; the sentence: “Brown jars prevented the mixture from freezing too quickly". Palindrome: a word, number, phrase, or other sequence of characters which reads the same backward as forward, such as “madam", “racecar", or "Was it a car or a cat I saw". Problem: Write a Java program that asks the user for a word, phrase, or sentence and checks whether his input data is an isogram, a pangram, a palindrome, or none of these. Notice a phrase can be a combination of isogram and pangram; such a phrase is called perfect pangram; for example: “Mr. Jock, TV quiz PhD., bags few lynx". Your program should also recognize if the given word/phrase is a palindrome that is pangram too (i.e.; a palindromic pangram). Your program should allow the user to have as many attempt as they wish. The user must have at least one try. Check the following Figures for sample runs.
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Array
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education