1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
alexandr402 [8]
3 years ago
7

Write a java method called vowelCount that accepts a String as a parameter and produces/returns an array of integers representin

g the count of each vowel in the String. The array returned by your method should hold five elements: the first is the count of the 'A's, the second is the count of 'E's, the third 'I''s, the fourth 'O's and the fifth the number of 'U's. Your count should check for both upper and lower case versions.For example the call vowelCount("I think therefore I am") should return the array [1,3,3,1,0].Your main program should then allow the user to type in single lines, analyzing each line and print out its count. The program should stop when the user types the word "STOP" by itself.
Computers and Technology
1 answer:
VARVARA [1.3K]3 years ago
7 0

Answer:AEIOU

Explanation:

You might be interested in
LAB: Phone number breakdown Given a long long integer representing a 10-digit phone number, output the area code, prefix, and li
SSSSS [86.1K]

The program illustrates the use of modulo operator.

The modulo operator (%) returns the remainder of a division.

<u>Take for instance: </u>

<em>The result of 4 % 3 is 1, because when 4 is divided by 3, the remainder is 1</em>

So, the program in C is as follows, where comments are used to explain each line

#include <stdio.h>

int main(){

   //This declares all variables as integer

   long phoneNumber, prefix,areaNum, lineNum;

   //This gets input for phoneNumber

   scanf("%ld", &phoneNumber);

   //This prints the  input for phoneNumber

   printf("%ld", phoneNumber);

   

   //This calculates the area code

   areaNum = phoneNumber/10000000;

   //This calculates the prefix

   prefix = (phoneNumber/10000)%1000;

   //This calculates the line numbers

   lineNum = phoneNumber%10000;

   

#This prints the required area code

   printf("\n(%ld)%ld-%ld\n", areaNum, prefix, lineNum);

   return 0;

   

}

At the end of the program, the phone number breakdown is printed

See attachment for sample run

Read more about C programs at:

brainly.com/question/13219435

8 0
2 years ago
What is a formula? What is a function? (In the context of Excel)
mel-nik [20]

Answer: A formula is an expression which calculate the value of a cell .A funcation is a predefined formula that performs calculations using specific values in particular order.According to context of excel.

4 0
4 years ago
I'm showing my friends brainly. Answer with anything so they can see how fast I can get answers.
katrin [286]

Answer:

really fast

Explanation:

Hi everyone

8 0
3 years ago
Read 2 more answers
Who is the impostor​
andriy [413]
Red is sus. I saw him vent!!!!!!!!!
6 0
3 years ago
Read 2 more answers
Using Word, Maureen is writing an outline of a presentation she plans to give to her company. She will be showing a video during
svlad2 [7]
A copy and paste would be fastest and easiest. As you can pinpoint the exact location to where you want the picture to be. 
5 0
3 years ago
Read 2 more answers
Other questions:
  • If you're writing a timeline of a historical. What type of graphic organizer would you most likely choose to use in your rerouti
    13·1 answer
  • Question 1<br> a node is.<br> •a sever<br> A Cell Phone<br> A Laptop<br> a device on a network
    13·1 answer
  • An indicator is a comprehensive analysis of critical information
    8·1 answer
  • An automated search feature used by search engines to find that match your search terms is called a spider or
    15·2 answers
  • What is better apple or andriod
    11·2 answers
  • From the Software Engineering Code of Ethics, which clauses relate to intellectual property (check all that apply)
    15·1 answer
  • Which type of device often controls IoT tasks?<br> Desktop<br> Laptop<br> Smartphone<br> Switch
    8·1 answer
  • Briefly tell me what a PUT request does
    11·1 answer
  • Nonprocedural access to a database
    10·1 answer
  • I need someone to explain gor me python coding!
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!