6.9 Write a program that reads 10 integers and displays how manytimes the user entered successive values. For example, if the userenters -5, 10, 17, ?31, ?30, ?29, 75, 76, 9, ?4, the program shoulddisplay 3 due to the pairs {-31, ?30}, {-30, ?29} and {75, 76}.
in Clanguage and with loop please
Expert Answer
An answer will be send to you shortly. . . . .