|
-
August 16th, 2017, 09:21 AM
#1
Searching char in String
Hi everybody,
is anybody capable pls solve this problem ? I am trying to figure it out (without the knowledge of object oriented programming) for a few hours but I am still failing :-/.
Write in Java a program that reads a character string (String ) and a character ( char ) and informs the user whether or not the character occurs in the string.
An example:
Hello! I try to find a character in a string.
Please, enter string:
Java
Please, enter character:
v
Character v was found.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|