Problem: 10062.Tell me the frequencies!
Code In C/C++:
Tics:1. Declear a structure like: struct arra{ int ascii,int fre} a[128];2. Store a[m].ascii=m and a[m].fre++3. Sort frequency wise and if both fre. Are equal the first large ascii4. Loop is continue from 32 to 127
Code In C/C++:
No comments:
Post a Comment