Question: Using recursion, create a java code that does the following: Create a menu that contains and performs the following operations: 1. Count total number

Using recursion, create a java code that does the following: Create a menu that contains and performs the following operations: 1. Count total number of consonants in a string. A consonant is an English alphabet character that is not vowel (a, e, i, o and u). Examples of constants are b, c, d, f, g, .. Example: Input: abc de Output: 3 2. Find the first uppercase letter in a string Example: Input: dataStructure Output: S Note: Strings should be entered by the user.
Step by Step Solution
3.37 Rating (153 Votes )
There are 3 Steps involved in it
Here is a Java code that implements the menu with the specified operations using recursion java impo... View full answer
Get step-by-step solutions from verified subject matter experts
