SlideShare a Scribd company logo
1 of 5
Download to read offline
package chegg;
import java.util.ArrayList;
import java.util.List;
import java.util.ListIterator;
import java.util.Scanner;
import java.util.Set;
import java.util.TreeMap;
public class Vowles {
public static void main(String args[]) {
/* creating instance variable of List */
List letters = new ArrayList();
/* vowels instance variable for holding vowels */
List vowels = new ArrayList();
/* creating HashMap for storing vowels and count */
TreeMap map = new TreeMap();
/* Inserting vowels into treemap */
map.put("a", 0);
map.put("e", 0);
map.put("i", 0);
map.put("o", 0);
map.put("u", 0);
/*
* creating instance variable of Scanner class for taking input from
* console
*/
Scanner scanner = new Scanner(System.in);
/*
* prompt for user input
*/
System.out.println("Please enter the letters with comma seperated");
String input = scanner.nextLine();
/* closing scanner object */
scanner.close();
String[] letter = input.split(",");
/* Inserting letters into List */
for (String values : letter) {
letters.add(values);
}
/* ListIterator for iterating list */
ListIterator itr = letters.listIterator();
while (itr.hasNext()) {
String val = itr.next();
/* checking if value is any vowels */
if (val.equals("a") || val.equals("e") || val.equals("i") || val.equals("o") ||
val.equals("u")) {
/* If vowels already exist in tree map */
if (map.containsKey(val)) {
Integer value = map.get(val);
map.put(val, ++value);
vowels.add(val);
} else {
map.put(val, 1);
vowels.add(val);
}
}
}
/* Removing all element from letters list */
letters.removeAll(letters);
/* Getting size of vowels */
int listSize = vowels.size();
System.out.println("There are " + listSize + " vowels in the list:");
/* Iterating treeMap */
Set keys = map.keySet();
for (String key : keys) {
System.out.print(key + "- " + map.get(key) + " ");
}
}
}
/***************output******************/
Please enter the letters with comma seperated
a,f,v,q,e,a,o,g,y,h,e,q,u
There are 6 vowels in the list:
a- 2 e- 2 i- 0 o- 1 u- 1
please rate the answer as best answer.
Thanks
Solution
package chegg;
import java.util.ArrayList;
import java.util.List;
import java.util.ListIterator;
import java.util.Scanner;
import java.util.Set;
import java.util.TreeMap;
public class Vowles {
public static void main(String args[]) {
/* creating instance variable of List */
List letters = new ArrayList();
/* vowels instance variable for holding vowels */
List vowels = new ArrayList();
/* creating HashMap for storing vowels and count */
TreeMap map = new TreeMap();
/* Inserting vowels into treemap */
map.put("a", 0);
map.put("e", 0);
map.put("i", 0);
map.put("o", 0);
map.put("u", 0);
/*
* creating instance variable of Scanner class for taking input from
* console
*/
Scanner scanner = new Scanner(System.in);
/*
* prompt for user input
*/
System.out.println("Please enter the letters with comma seperated");
String input = scanner.nextLine();
/* closing scanner object */
scanner.close();
String[] letter = input.split(",");
/* Inserting letters into List */
for (String values : letter) {
letters.add(values);
}
/* ListIterator for iterating list */
ListIterator itr = letters.listIterator();
while (itr.hasNext()) {
String val = itr.next();
/* checking if value is any vowels */
if (val.equals("a") || val.equals("e") || val.equals("i") || val.equals("o") ||
val.equals("u")) {
/* If vowels already exist in tree map */
if (map.containsKey(val)) {
Integer value = map.get(val);
map.put(val, ++value);
vowels.add(val);
} else {
map.put(val, 1);
vowels.add(val);
}
}
}
/* Removing all element from letters list */
letters.removeAll(letters);
/* Getting size of vowels */
int listSize = vowels.size();
System.out.println("There are " + listSize + " vowels in the list:");
/* Iterating treeMap */
Set keys = map.keySet();
for (String key : keys) {
System.out.print(key + "- " + map.get(key) + " ");
}
}
}
/***************output******************/
Please enter the letters with comma seperated
a,f,v,q,e,a,o,g,y,h,e,q,u
There are 6 vowels in the list:
a- 2 e- 2 i- 0 o- 1 u- 1
please rate the answer as best answer.
Thanks

More Related Content

Similar to package chegg;import java.util.ArrayList; import java.util.List;.pdf

import java.util.Scanner;public class ArrayOperation {    inp.pdf
import java.util.Scanner;public class ArrayOperation {     inp.pdfimport java.util.Scanner;public class ArrayOperation {     inp.pdf
import java.util.Scanner;public class ArrayOperation {    inp.pdf
angelsfashion1
 
How do I fix this error - Exception in thread -main- java-lang-NullPoi.pdf
How do I fix this error - Exception in thread -main- java-lang-NullPoi.pdfHow do I fix this error - Exception in thread -main- java-lang-NullPoi.pdf
How do I fix this error - Exception in thread -main- java-lang-NullPoi.pdf
pnaran46
 

Similar to package chegg;import java.util.ArrayList; import java.util.List;.pdf (8)

Collection Core Concept
Collection Core ConceptCollection Core Concept
Collection Core Concept
 
MagicSquareTest.java import java.util.Scanner;public class Mag.pdf
MagicSquareTest.java import java.util.Scanner;public class Mag.pdfMagicSquareTest.java import java.util.Scanner;public class Mag.pdf
MagicSquareTest.java import java.util.Scanner;public class Mag.pdf
 
Array in Java
Array in JavaArray in Java
Array in Java
 
What is new in Java 8
What is new in Java 8What is new in Java 8
What is new in Java 8
 
ES6 Overview
ES6 OverviewES6 Overview
ES6 Overview
 
java input & output statements
 java input & output statements java input & output statements
java input & output statements
 
import java.util.Scanner;public class ArrayOperation {    inp.pdf
import java.util.Scanner;public class ArrayOperation {     inp.pdfimport java.util.Scanner;public class ArrayOperation {     inp.pdf
import java.util.Scanner;public class ArrayOperation {    inp.pdf
 
How do I fix this error - Exception in thread -main- java-lang-NullPoi.pdf
How do I fix this error - Exception in thread -main- java-lang-NullPoi.pdfHow do I fix this error - Exception in thread -main- java-lang-NullPoi.pdf
How do I fix this error - Exception in thread -main- java-lang-NullPoi.pdf
 

More from anandf0099

What is a Distributed System Compare it with a computer network sys.pdf
What is a Distributed System Compare it with a computer network sys.pdfWhat is a Distributed System Compare it with a computer network sys.pdf
What is a Distributed System Compare it with a computer network sys.pdf
anandf0099
 
USES OF FINANCIAL STATEMENT ANALYSISFINANCIAL STATEMENT ANALYSIS .pdf
USES OF FINANCIAL STATEMENT ANALYSISFINANCIAL STATEMENT ANALYSIS .pdfUSES OF FINANCIAL STATEMENT ANALYSISFINANCIAL STATEMENT ANALYSIS .pdf
USES OF FINANCIAL STATEMENT ANALYSISFINANCIAL STATEMENT ANALYSIS .pdf
anandf0099
 
The movement of watersolvent across the osmotic gradient takes plac.pdf
The movement of watersolvent across the osmotic gradient takes plac.pdfThe movement of watersolvent across the osmotic gradient takes plac.pdf
The movement of watersolvent across the osmotic gradient takes plac.pdf
anandf0099
 
Ques-1 Development of tube feet of CRINOIDEADevelopment of tube f.pdf
Ques-1 Development of tube feet of CRINOIDEADevelopment of tube f.pdfQues-1 Development of tube feet of CRINOIDEADevelopment of tube f.pdf
Ques-1 Development of tube feet of CRINOIDEADevelopment of tube f.pdf
anandf0099
 
Program.csusing System; using System.Collections.Generic; usin.pdf
Program.csusing System; using System.Collections.Generic; usin.pdfProgram.csusing System; using System.Collections.Generic; usin.pdf
Program.csusing System; using System.Collections.Generic; usin.pdf
anandf0099
 
Issue of Equity or Debt are commonly used methods for business finan.pdf
Issue of Equity or Debt are commonly used methods for business finan.pdfIssue of Equity or Debt are commonly used methods for business finan.pdf
Issue of Equity or Debt are commonly used methods for business finan.pdf
anandf0099
 
In probability we have two types of eventsIndependent Events who.pdf
In probability we have two types of eventsIndependent Events who.pdfIn probability we have two types of eventsIndependent Events who.pdf
In probability we have two types of eventsIndependent Events who.pdf
anandf0099
 
i have written ths code as per your requirements with clear comments.pdf
i have written ths code as per your requirements with clear comments.pdfi have written ths code as per your requirements with clear comments.pdf
i have written ths code as per your requirements with clear comments.pdf
anandf0099
 
Hi,Please fidn the Answer.Sorting,h is Header .pdf
Hi,Please fidn the Answer.Sorting,h is Header .pdfHi,Please fidn the Answer.Sorting,h is Header .pdf
Hi,Please fidn the Answer.Sorting,h is Header .pdf
anandf0099
 

More from anandf0099 (20)

Riboflavin is required in the conversion of carbo.pdf
                     Riboflavin is required in the conversion of carbo.pdf                     Riboflavin is required in the conversion of carbo.pdf
Riboflavin is required in the conversion of carbo.pdf
 
PbS,Ag2O and CaSO4 are stable as they are insolub.pdf
                     PbS,Ag2O and CaSO4 are stable as they are insolub.pdf                     PbS,Ag2O and CaSO4 are stable as they are insolub.pdf
PbS,Ag2O and CaSO4 are stable as they are insolub.pdf
 
Optio D is the correct one. .pdf
                     Optio D is the correct one.                      .pdf                     Optio D is the correct one.                      .pdf
Optio D is the correct one. .pdf
 
Image not seenfound .pdf
                     Image not seenfound                             .pdf                     Image not seenfound                             .pdf
Image not seenfound .pdf
 
If multiple orbitals of the same energy are avail.pdf
                     If multiple orbitals of the same energy are avail.pdf                     If multiple orbitals of the same energy are avail.pdf
If multiple orbitals of the same energy are avail.pdf
 
What is a Distributed System Compare it with a computer network sys.pdf
What is a Distributed System Compare it with a computer network sys.pdfWhat is a Distributed System Compare it with a computer network sys.pdf
What is a Distributed System Compare it with a computer network sys.pdf
 
USES OF FINANCIAL STATEMENT ANALYSISFINANCIAL STATEMENT ANALYSIS .pdf
USES OF FINANCIAL STATEMENT ANALYSISFINANCIAL STATEMENT ANALYSIS .pdfUSES OF FINANCIAL STATEMENT ANALYSISFINANCIAL STATEMENT ANALYSIS .pdf
USES OF FINANCIAL STATEMENT ANALYSISFINANCIAL STATEMENT ANALYSIS .pdf
 
The movement of watersolvent across the osmotic gradient takes plac.pdf
The movement of watersolvent across the osmotic gradient takes plac.pdfThe movement of watersolvent across the osmotic gradient takes plac.pdf
The movement of watersolvent across the osmotic gradient takes plac.pdf
 
These groups are closely related not only is SO(2) a subgroup of O(.pdf
These groups are closely related not only is SO(2) a subgroup of O(.pdfThese groups are closely related not only is SO(2) a subgroup of O(.pdf
These groups are closely related not only is SO(2) a subgroup of O(.pdf
 
The probability of atom has zero quanta of energy is      P=Number.pdf
The probability of atom has zero quanta of energy is      P=Number.pdfThe probability of atom has zero quanta of energy is      P=Number.pdf
The probability of atom has zero quanta of energy is      P=Number.pdf
 
Copper turns green because it oxidizes. Coppe.pdf
                     Copper turns green because it oxidizes. Coppe.pdf                     Copper turns green because it oxidizes. Coppe.pdf
Copper turns green because it oxidizes. Coppe.pdf
 
CO2 and NO2 are acidic oxides as non-metal form a.pdf
                     CO2 and NO2 are acidic oxides as non-metal form a.pdf                     CO2 and NO2 are acidic oxides as non-metal form a.pdf
CO2 and NO2 are acidic oxides as non-metal form a.pdf
 
Ques-1 Development of tube feet of CRINOIDEADevelopment of tube f.pdf
Ques-1 Development of tube feet of CRINOIDEADevelopment of tube f.pdfQues-1 Development of tube feet of CRINOIDEADevelopment of tube f.pdf
Ques-1 Development of tube feet of CRINOIDEADevelopment of tube f.pdf
 
Program.csusing System; using System.Collections.Generic; usin.pdf
Program.csusing System; using System.Collections.Generic; usin.pdfProgram.csusing System; using System.Collections.Generic; usin.pdf
Program.csusing System; using System.Collections.Generic; usin.pdf
 
B. propene. Solution B. p.pdf
                     B. propene. Solution                     B. p.pdf                     B. propene. Solution                     B. p.pdf
B. propene. Solution B. p.pdf
 
L{e^{-t}} = int _0 to infinty [e^{st}e^{2-t} dt = int _0 to infinty.pdf
L{e^{-t}} = int _0 to infinty [e^{st}e^{2-t} dt = int _0 to infinty.pdfL{e^{-t}} = int _0 to infinty [e^{st}e^{2-t} dt = int _0 to infinty.pdf
L{e^{-t}} = int _0 to infinty [e^{st}e^{2-t} dt = int _0 to infinty.pdf
 
Issue of Equity or Debt are commonly used methods for business finan.pdf
Issue of Equity or Debt are commonly used methods for business finan.pdfIssue of Equity or Debt are commonly used methods for business finan.pdf
Issue of Equity or Debt are commonly used methods for business finan.pdf
 
In probability we have two types of eventsIndependent Events who.pdf
In probability we have two types of eventsIndependent Events who.pdfIn probability we have two types of eventsIndependent Events who.pdf
In probability we have two types of eventsIndependent Events who.pdf
 
i have written ths code as per your requirements with clear comments.pdf
i have written ths code as per your requirements with clear comments.pdfi have written ths code as per your requirements with clear comments.pdf
i have written ths code as per your requirements with clear comments.pdf
 
Hi,Please fidn the Answer.Sorting,h is Header .pdf
Hi,Please fidn the Answer.Sorting,h is Header .pdfHi,Please fidn the Answer.Sorting,h is Header .pdf
Hi,Please fidn the Answer.Sorting,h is Header .pdf
 

Recently uploaded

Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
AnaAcapella
 
SPLICE Working Group: Reusable Code Examples
SPLICE Working Group:Reusable Code ExamplesSPLICE Working Group:Reusable Code Examples
SPLICE Working Group: Reusable Code Examples
Peter Brusilovsky
 
SURVEY I created for uni project research
SURVEY I created for uni project researchSURVEY I created for uni project research
SURVEY I created for uni project research
CaitlinCummins3
 
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes GuàrdiaPersonalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
EADTU
 

Recently uploaded (20)

Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
Book Review of Run For Your Life Powerpoint
Book Review of Run For Your Life PowerpointBook Review of Run For Your Life Powerpoint
Book Review of Run For Your Life Powerpoint
 
VAMOS CUIDAR DO NOSSO PLANETA! .
VAMOS CUIDAR DO NOSSO PLANETA!                    .VAMOS CUIDAR DO NOSSO PLANETA!                    .
VAMOS CUIDAR DO NOSSO PLANETA! .
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
 
Spring gala 2024 photo slideshow - Celebrating School-Community Partnerships
Spring gala 2024 photo slideshow - Celebrating School-Community PartnershipsSpring gala 2024 photo slideshow - Celebrating School-Community Partnerships
Spring gala 2024 photo slideshow - Celebrating School-Community Partnerships
 
8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital Management8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital Management
 
Đề tieng anh thpt 2024 danh cho cac ban hoc sinh
Đề tieng anh thpt 2024 danh cho cac ban hoc sinhĐề tieng anh thpt 2024 danh cho cac ban hoc sinh
Đề tieng anh thpt 2024 danh cho cac ban hoc sinh
 
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
 
PSYPACT- Practicing Over State Lines May 2024.pptx
PSYPACT- Practicing Over State Lines May 2024.pptxPSYPACT- Practicing Over State Lines May 2024.pptx
PSYPACT- Practicing Over State Lines May 2024.pptx
 
Mattingly "AI and Prompt Design: LLMs with NER"
Mattingly "AI and Prompt Design: LLMs with NER"Mattingly "AI and Prompt Design: LLMs with NER"
Mattingly "AI and Prompt Design: LLMs with NER"
 
The Story of Village Palampur Class 9 Free Study Material PDF
The Story of Village Palampur Class 9 Free Study Material PDFThe Story of Village Palampur Class 9 Free Study Material PDF
The Story of Village Palampur Class 9 Free Study Material PDF
 
e-Sealing at EADTU by Kamakshi Rajagopal
e-Sealing at EADTU by Kamakshi Rajagopale-Sealing at EADTU by Kamakshi Rajagopal
e-Sealing at EADTU by Kamakshi Rajagopal
 
How To Create Editable Tree View in Odoo 17
How To Create Editable Tree View in Odoo 17How To Create Editable Tree View in Odoo 17
How To Create Editable Tree View in Odoo 17
 
How to Send Pro Forma Invoice to Your Customers in Odoo 17
How to Send Pro Forma Invoice to Your Customers in Odoo 17How to Send Pro Forma Invoice to Your Customers in Odoo 17
How to Send Pro Forma Invoice to Your Customers in Odoo 17
 
SPLICE Working Group: Reusable Code Examples
SPLICE Working Group:Reusable Code ExamplesSPLICE Working Group:Reusable Code Examples
SPLICE Working Group: Reusable Code Examples
 
SURVEY I created for uni project research
SURVEY I created for uni project researchSURVEY I created for uni project research
SURVEY I created for uni project research
 
Trauma-Informed Leadership - Five Practical Principles
Trauma-Informed Leadership - Five Practical PrinciplesTrauma-Informed Leadership - Five Practical Principles
Trauma-Informed Leadership - Five Practical Principles
 
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
 
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes GuàrdiaPersonalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
 

package chegg;import java.util.ArrayList; import java.util.List;.pdf

  • 1. package chegg; import java.util.ArrayList; import java.util.List; import java.util.ListIterator; import java.util.Scanner; import java.util.Set; import java.util.TreeMap; public class Vowles { public static void main(String args[]) { /* creating instance variable of List */ List letters = new ArrayList(); /* vowels instance variable for holding vowels */ List vowels = new ArrayList(); /* creating HashMap for storing vowels and count */ TreeMap map = new TreeMap(); /* Inserting vowels into treemap */ map.put("a", 0); map.put("e", 0); map.put("i", 0); map.put("o", 0); map.put("u", 0); /* * creating instance variable of Scanner class for taking input from * console */ Scanner scanner = new Scanner(System.in); /* * prompt for user input */ System.out.println("Please enter the letters with comma seperated"); String input = scanner.nextLine(); /* closing scanner object */ scanner.close(); String[] letter = input.split(","); /* Inserting letters into List */
  • 2. for (String values : letter) { letters.add(values); } /* ListIterator for iterating list */ ListIterator itr = letters.listIterator(); while (itr.hasNext()) { String val = itr.next(); /* checking if value is any vowels */ if (val.equals("a") || val.equals("e") || val.equals("i") || val.equals("o") || val.equals("u")) { /* If vowels already exist in tree map */ if (map.containsKey(val)) { Integer value = map.get(val); map.put(val, ++value); vowels.add(val); } else { map.put(val, 1); vowels.add(val); } } } /* Removing all element from letters list */ letters.removeAll(letters); /* Getting size of vowels */ int listSize = vowels.size(); System.out.println("There are " + listSize + " vowels in the list:"); /* Iterating treeMap */ Set keys = map.keySet(); for (String key : keys) { System.out.print(key + "- " + map.get(key) + " "); } } } /***************output******************/ Please enter the letters with comma seperated
  • 3. a,f,v,q,e,a,o,g,y,h,e,q,u There are 6 vowels in the list: a- 2 e- 2 i- 0 o- 1 u- 1 please rate the answer as best answer. Thanks Solution package chegg; import java.util.ArrayList; import java.util.List; import java.util.ListIterator; import java.util.Scanner; import java.util.Set; import java.util.TreeMap; public class Vowles { public static void main(String args[]) { /* creating instance variable of List */ List letters = new ArrayList(); /* vowels instance variable for holding vowels */ List vowels = new ArrayList(); /* creating HashMap for storing vowels and count */ TreeMap map = new TreeMap(); /* Inserting vowels into treemap */ map.put("a", 0); map.put("e", 0); map.put("i", 0); map.put("o", 0); map.put("u", 0); /* * creating instance variable of Scanner class for taking input from * console */ Scanner scanner = new Scanner(System.in); /* * prompt for user input
  • 4. */ System.out.println("Please enter the letters with comma seperated"); String input = scanner.nextLine(); /* closing scanner object */ scanner.close(); String[] letter = input.split(","); /* Inserting letters into List */ for (String values : letter) { letters.add(values); } /* ListIterator for iterating list */ ListIterator itr = letters.listIterator(); while (itr.hasNext()) { String val = itr.next(); /* checking if value is any vowels */ if (val.equals("a") || val.equals("e") || val.equals("i") || val.equals("o") || val.equals("u")) { /* If vowels already exist in tree map */ if (map.containsKey(val)) { Integer value = map.get(val); map.put(val, ++value); vowels.add(val); } else { map.put(val, 1); vowels.add(val); } } } /* Removing all element from letters list */ letters.removeAll(letters); /* Getting size of vowels */ int listSize = vowels.size(); System.out.println("There are " + listSize + " vowels in the list:"); /* Iterating treeMap */ Set keys = map.keySet(); for (String key : keys) {
  • 5. System.out.print(key + "- " + map.get(key) + " "); } } } /***************output******************/ Please enter the letters with comma seperated a,f,v,q,e,a,o,g,y,h,e,q,u There are 6 vowels in the list: a- 2 e- 2 i- 0 o- 1 u- 1 please rate the answer as best answer. Thanks