bigbalbossa
Programmer
All,
This little exercise has me confused. I would like to read this file:
AL|2
AL|4
AL|7
AL|10
AL|11
AK|2
AK|4
AK|7
AK|10
AK|11
AZ|2
AZ|4
AZ|7
AZ|10
AZ|11
AR|2
AR|4
AR|7
AR|10
AR|11
CA|2
CA|4
CA|7
CA|10
CA|11
And create a report that looks like:
2 4 7 10 11
AK 1 1 1 1 1
AL 1 1 1 1 1
AZ 1 1 1 1 1
AR 1 1 1 1 1
CA 1 1 1 1 1
So, a count AK records with a flag of 2 is 1 and so on.
Make sense?
This little exercise has me confused. I would like to read this file:
AL|2
AL|4
AL|7
AL|10
AL|11
AK|2
AK|4
AK|7
AK|10
AK|11
AZ|2
AZ|4
AZ|7
AZ|10
AZ|11
AR|2
AR|4
AR|7
AR|10
AR|11
CA|2
CA|4
CA|7
CA|10
CA|11
And create a report that looks like:
2 4 7 10 11
AK 1 1 1 1 1
AL 1 1 1 1 1
AZ 1 1 1 1 1
AR 1 1 1 1 1
CA 1 1 1 1 1
So, a count AK records with a flag of 2 is 1 and so on.
Make sense?