Skip to content
Advertisement

Tag: letters-and-numbers

Java repeated letter check in string

I’m having problem figuring out how to check from users input letters that were repeated. Program needs to output repeated letter as true and if there isn’t any then as false. Program should not count numbers or symbols as repeated. For example: User input: Chocolate Program Output: True User input: 112 cream Program Output: False Answer Here is another version,

Advertisement