so i need the program to read a file with a list of ints, if there are consecutive equal numbers, such as 10 20 20 20 20 30 30 ... 0, the output should be
(1 * 10)
(4 * 20)
(2 * 30)
etc, and it...
Type: Posts; User: jslice3
so i need the program to read a file with a list of ints, if there are consecutive equal numbers, such as 10 20 20 20 20 30 30 ... 0, the output should be
(1 * 10)
(4 * 20)
(2 * 30)
etc, and it...