Hello i am making a projet as my school project and i am almost done...
but stuck... very stuck...
i have a array in which i have specific numbers from my text file.
for example my aray has 3 7 10 14 30 70 in it... (those numbers are days of vacation from my text file and are definitely at least once there)
and i need to do this:
if i have more vacations with same length for example i have 5 vacations with 3 days it should write 3: 5
i dont even know if i posted it in right section...
i would be glad for any help cause as of right now i am very stuck...
some example...
for
array[3 7 10 14 30 70]
pole[3 7 10 10 14 30 30 30 70]
it should write
3: 1
7:1
10:2
14:1
30: 3
70:1