Question: This needs to be done with java. Programming Problems 1. PROBLEM 1 Create a class named PS3Logic. Within the main method, prompt the user to

 This needs to be done with java. Programming Problems 1. PROBLEM

This needs to be done with java.

1 Create a class named PS3Logic. Within the main method, prompt the

user to enter a string. Your goal is to build string with

Programming Problems 1. PROBLEM 1 Create a class named PS3Logic. Within the main method, prompt the user to enter a string. Your goal is to build string with every third vowel in the input. If there are any characters that are not letters, print out "Invalid" and perform no other pro- cessing. Otherwise, build a string of every third vowel (starting with the first one found). For example, the input "aeiouaeiou should produce the output a + 0 + c + Print euch vowel that qualifies delimited by a "4" sign. Do not use any string functions other than charAt() and lengtho. e so 2 Insert PrtScr F12 F10 0 n ddr New Navigate Code Analyse Beacter Build Run Jools VCS Window Help Log e com a company Logic - Progejava CAUtes corde derecho package com.co be es and Consoles import java.util.Scanner import java.util.ArrayList; public class PS3Logic public static void main(String[] args) { Scanner sc new Scanner(System.in) String input: System.out.println("Enter string here"); input-s extLine(); Letters(input); 16 public static void letters(String input) { for(int i0; Run ES TODO cessfully in 5 s 71 ms (31 minutes ago) O e os odeAnalyze Befactor Build Run Jools VCS Window Help PSLogic (CAUsers\corde des Projects\PS3Logic) company PS3Logic 3 = - 41 PS3Logic.java deaProjects PS3Logic are comi.companyMain.jave - Intel IDEA 23 35 36 37 public static void valves (String[] sep) { ArrayList alpha- new ArrayList 0) (int i = 0; i

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!