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 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;
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
