Menu

[solved] – Question 95584

Create a C++ program to choose a name for a new born baby.
Five names will be given as choice to the program. Among the names, select a good
name.
The name is categorized as good if,
i) The name contains less than three vowels and
ii) The name has no characters appearing twice.
Input:

Raja
King
Queen
Minister
Soldier
Output:
Raja is good name
King is good name
Queen is bad name
Minister is bad name
Soldier is bad name

Expert Answer


OR


Leave a Reply

Your email address will not be published. Required fields are marked *