From c7a9eccd9c21d88520daf2fdd3e2d414eb5d24bb Mon Sep 17 00:00:00 2001 From: Jarvis-assemble <83494685+Jarvis-assemble@users.noreply.github.com> Date: Sat, 2 Nov 2024 12:49:55 +0530 Subject: [PATCH] Update Consecutive2vowels.java Eating is the correct word with two consecutive vowels Signed-off-by: Jarvis-assemble <83494685+Jarvis-assemble@users.noreply.github.com> --- Consecutive2vowels.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Consecutive2vowels.java b/Consecutive2vowels.java index 7c48108..d6fec88 100644 --- a/Consecutive2vowels.java +++ b/Consecutive2vowels.java @@ -4,7 +4,7 @@ Input: I enjoy eating spaghetti and meatballs for dinner Output: 2 -Explanation: There are two words in the sentence that contain at least two consecutive vowels - "enjoy" and "meatballs". +Explanation: There are two words in the sentence that contain at least two consecutive vowels - "eating" and "meatballs". */ import java.util.*;