write code in java
COSC 113
In CLASS Lab Assignment 6
Methods and Classes
Due: 10/4/2023 11:59pm
1. Write a value-returning method, isVowel, that returns the value true if a given character
is a vowel, and otherwise returns false. Also write a program to test your method.
2. Write a program that prompts the user to input a sequence of characters and outputs the
number of vowels. (Use the method isVowel written in Programming question 1.)
3. Write a program that uses the method sqrt of the class Math and outputs the square roots
of the first 25 positive integers. (Your program must output each number and its square
root.)
4. Write a method, reverseDigit, that takes an integer as a parameter and returns the number
with its digits reversed. For example, the value of reverseDigit(12345) is 54321. Also,
write a program to test your method.
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.
Read moreEach paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.
Read moreThanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.
Read moreYour email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.
Read moreBy sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.
Read more