Assembly Language

Thread Starter

Hani Abdullah

Joined Jan 24, 2014
4
Open a file named "integers.dat" and keep track of the following information:

the first integer value
the number of times this integer appears in the file
the number of times other integers appear in the file
Output the three pieces of information to the console (stdout)

For example, if "integers.dat" contains the following integers:

14 27 39 11 2 23 14 90 3 14

I would expect to see the following result in the console window:

14 3 7
 

WBahn

Joined Mar 31, 2012
29,932
Open a file named "integers.dat" and keep track of the following information:

the first integer value
the number of times this integer appears in the file
the number of times other integers appear in the file
Output the three pieces of information to the console (stdout)

For example, if "integers.dat" contains the following integers:

14 27 39 11 2 23 14 90 3 14

I would expect to see the following result in the console window:

14 3 7
Soooo...... what's your question?
 
Top