| Author |
Message |
Stella Richards
phpBB2.de User

Joined: 30 Apr 2009
Posts: 1
|
Posted:
Thu 30 Apr, 2009 08:47 |
  |
Hi
Write code to solve the following problem. Define a function that takes a String as a parameter and returns an integer value. The function need to loop through each character in the input string to find a value of “x”. If a value of “x” is found in the string then return the position within the string where “x” is found else return -1.
_________________
Visa India
Indian Tourist Visa
Tourist Visa to UK |
|
|
   |
 |
Google
|
Posted:
|
 |
|
|
 |
|
|
|
|
|
View next topic
View previous topic
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
| |