basamaryan / School-Work-Stuff

0 stars 1 forks source link

Is it removing the right position #2

Closed osvaldo-olmos closed 4 years ago

osvaldo-olmos commented 4 years ago

https://github.com/basamaryan/My-Programs/blob/af7df6b1509ecaf5b276fdd6dce178d7375cdd9f/2.1/2.1/Program.cs#L17

osvaldo-olmos commented 4 years ago

Test case Enter the wordOsvaldo Enter the number4 Expected result: Osvldo Result: Osvado

Why is it removing the 'l' instead of the 'a' ?

basamaryan commented 4 years ago

Oh, I thought the user would input the index that needs to be removed. Then I could just do the index +1?