Write a program which asks the user to enter a string (char-array) strand an integer

computer science


Write a program which asks the user to enter a string (char-array) str and an integer i.It is supposed to modify the char-array str by deleting its i’th character, where i = 0corresponds to the first character, i = 1 corresponds to the second character, and so on....At the end your program is supposed to print the modified string.For example, on inputPlease enter a string:eece230Please enter i:2your program is supposed to store “eece230” in str, modify the content of str to “eee230”,and finally printeee230Note that it is not enough to set the deleted character to a blank character; the lengthof modified string is smaller than that of the original string by one

Related Questions in computer science category

The ready solutions purchased from Library are already used solutions. Please do not submit them directly as it may lead to plagiarism. Once paid, the solution file download link will be sent to your provided email. Please either use them for learning purpose or re-write them in your own language. In case if you haven't get the email, do let us know via chat support.