Here is my codes
How do I make it so if it read more than 3 e then it false.Code:public boolean stringE(String str)
{
boolean result = false;
int len = str.length();
for (int i = 0; i < len; i++)
{
String word = str.substring(0);
if (word.contains("e"))
result = true;
}
return result;
}
