Ad
  • Custom User Avatar

    .... OH, so i am testing for which ones are in reverse, and returning those?

  • Custom User Avatar

    Forgive Ms Sir/Madam, but isnt that what rhe goal is? That forementioned goal being to take rhe string provided and reverse it, then output/return it?

  • Custom User Avatar

    I do believe i am doing everything right.. I have converted each string given to me as a parameter into a Character Array, and used the Array's "reverse" method to flip around the order of all characters therein... however, whgne i try to return this result after having converted it into a new string... I get the thing I was expecting, however the system itself insists it should still be in reverse... what is this madness?

    Test Failed
    String lengths are both 19. Strings differ at index 0.
    Expected: "sihT si na !elpmaxe"
    But was: "This is an example!"
    -----------^

    for better reference, i have sucessfully reversed the strings yet it says it should be.. in resverse to begin with?....

    unless I am mistaken and the goal is to take normal words, and then reverse them..

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    Ah, I see, It is to be the value of all orher possibilties..... so I am assuming any vakue greater than the integer of value of 6 within the input field, is sort out any.. "beyond range" arguements?

    If I made any error, please note that I an trying to type this responce at work between customers.

    ... oh wait... flash forward two days and more sleep... i messed up ...

  • Custom User Avatar

    Look, I do see Myself as a fairly astute Man.. however, did You go to school in 1900?... because I have yet to hear of this old schoolyard game... Ok so, "I love you" refers to tnbe integer of 7, but frankly "Madly" in MY eyes refers to a more manic form of romance... so shouldn't that theoretically be the highest number?.. I already have a switch expression set up, however i am not sure as to which values to assign each case.. I do hope I have been clear about this matter

    I mena no offense if I cam across in an abrasive manner by the way.