Question: WRITE IN C U.10.6 Write a program that reads a string of less than 100 characters and stores it in an array. Then, the program

 WRITE IN C U.10.6 Write a program that reads a string

WRITE IN C

U.10.6 Write a program that reads a string of less than 100 characters and stores it in an array. Then, the program should reverse the stored string and display the new one. For example, if the string code is stored, the program should reverse it and store in the array edoc. Use just one array. should revene hegrrin dal ted, and the posiio 10.7 Write a program that reads a string of less than 100 characters, how many charac- ters are going to be deleted, and the position of the first character to be deleted. After the deletion, the rest part of the string should be shifted to the left, a number of places equal to the number of the deleted characters. The program should display the string before it ends. For example, if the input string is test case and the numbers are 4 and 2, the pro gram should display tcase. The program should check the validity of the input numbers in order to ensure that the characters are contained in the string, t ea mumber of place eoe t U.10.8 Write a program that reads two strings of less than 100 characters and displays how many times the second string is contained in the first one. The length of the second string should be less than or equal to the first one. U.10.9 Write a program that reads a string of less than 100 characters and stores it in an array. Then, the program should delete from the array all the characters that are not letters, the multiple repetitions of the same letter, and display the new string. For example, if the string jA* 8tcr1"c is stored in the array, the program should change its content to JAcr. There is one restriction; don't use a second array to store the characters that are not deleted

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!