Yeah the reason is only index is a String variable and mid, last are integer variables. As far as i can guess, mid and last are index of array where that character is. You must find out that...
Type: Posts; User: Mr.777
Yeah the reason is only index is a String variable and mid, last are integer variables. As far as i can guess, mid and last are index of array where that character is. You must find out that...
@reddevilggg: Kindly use
tags to enclose your code or read the forums rules.
Okay, so far now, what you have tried is good enough for a beginner. Forexample,
Andrew Hawks Jhonson is the input....