Write a program that asks the user to input a string, and then asks the user to input a character. The program should count and display the number of times that the specified character appears in the string.The program should then ask the user if they want to run the program one more time. As long as the user answers with either ‘y’ or ‘Y’, your program will go back to the beginning and prompt the user for integer numbers.
Second part : sorting : Write a program that prompts the user to enter three integer numbers into variables a, b, and c. After that, the program sorts entered numbers so that the smallest number is in variable a, the middle number is in variable b, and the largest number is in variable c. After that, the program asks the user if he or she would like to start another round of sorting. As long as the user answers ‘Y’ or ‘y’, the program will continue to ask for the three numbers and to sort the numbers in ascending order.