Write a program to determine whether the input character is a vowel or consonant. Input and Output Format: Input consists of a single character. Output consists of a string -- "Vowel" /"Consonant" /"Not an alphabet" Refer sample input and output for formatting specifications. All text in bold corresponds to input and the rest corresponds to output. Sample Input and Output 1: Enter a character a Vowel Sample Input and Output 2: Enter a character Consonant Sample Input and Output 3: Enter a character # Not an alphabet
Write a program to determine whether the input character is a vowel or consonant. Input and Output Format: Input consists of a single character. Output consists of a string -- "Vowel" /"Consonant" /"Not an alphabet" Refer sample input and output for formatting specifications. All text in bold corresponds to input and the rest corresponds to output. Sample Input and Output 1: Enter a character a Vowel Sample Input and Output 2: Enter a character Consonant Sample Input and Output 3: Enter a character # Not an alphabet
C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter3: Assignment, Formatting, And Interactive Input
Section3.2: Formatting Numbers For Program Output
Problem 10E
Related questions
Question
QUESTION PROVIDED IN ATTACHMENT.
USE ONLY SHELL SCRIPTING WHEN MAKING SOLUTIONS.
![Write a program to determine whether the input character is a vowel or consonant.
Input and Output Format:
Input consists of a single character.
Output consists of a string --- "Vowel" /"Consonant" / "Not an alphabet"
Refer sample input and output for formatting specifications.
All text in bold corresponds to input and the rest corresponds to output.
Sample Input and Output 1:
Enter a character
a
Vowel
Sample Input and Output 2:
Enter a character
Consonant
Sample Input and Output 3:
Enter a character
Not an alphabet](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F4324c3eb-1b9b-4732-a1c8-5a44e3b48f7c%2F45ada8b1-df03-4ca2-a4f4-409f512a7cf6%2F757telc_processed.png&w=3840&q=75)
Transcribed Image Text:Write a program to determine whether the input character is a vowel or consonant.
Input and Output Format:
Input consists of a single character.
Output consists of a string --- "Vowel" /"Consonant" / "Not an alphabet"
Refer sample input and output for formatting specifications.
All text in bold corresponds to input and the rest corresponds to output.
Sample Input and Output 1:
Enter a character
a
Vowel
Sample Input and Output 2:
Enter a character
Consonant
Sample Input and Output 3:
Enter a character
Not an alphabet
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 4 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Recommended textbooks for you
![C++ for Engineers and Scientists](https://www.bartleby.com/isbn_cover_images/9781133187844/9781133187844_smallCoverImage.gif)
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
![C++ for Engineers and Scientists](https://www.bartleby.com/isbn_cover_images/9781133187844/9781133187844_smallCoverImage.gif)
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr