can you write the things that are below with C programming
Write a C program that reads several characters from the user until ‘*’ is entered. Assume that the input only consists of lowercase letters. Your program will output the read input in a compressed manner. The idea is to display only one character and its number of occurences for repeated characters. If the input is “jddddyggrcnnfvvvwwwwwbbbf”, the program should display “jd4yg2rcn2fv3w5b3f” .
Please enter characters: cccctiiiisbbllllllkeeeeeeeen*