Question: [Chapter 5/Loops] All exercises in one Java file Assignment: 1. Write the code to input as many characters as the user wishes (until the user
[Chapter 5/Loops] All exercises in one Java file
Assignment:
1. Write the code to input as many characters as the user wishes (until the user enters !) and
display vowel if the character is a vowel (a, e, i, o, u), in all other cases, display other.
2. Write a loop to display the numbers 1 through 5 with increments of 1, one per line.
Calculate and display the total of these numbers. (i.e., the total of 1+2+3+4+5 = 15 )
3. Write a nested loop to display the following pattern:
*
* *
* * *
* * * *
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
