1. Other
  2. Other
  3. i have question releated to java the aim of this...

Question: i have question releated to java the aim of this...

Question details

I have question releated to java. The aim of this program is to detect the infix, prefix and suffix of given words in txt doc. My current code is: 

I seem to run into a problem when giving 'a' as a example. Heres an example: 

But as you can see aibohphobia does not have a infix of a. Help would be much appreciated as i feel i just need to look at it from another angle.

 

Cheers

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution