Please consider offering answers and suggestions to help other students!
And if you fix a problem by following a suggestion here,
it would be great if other interested students could see a short
"Great, fixed it!" followup message.
Hi there,
Will the file our assignment is tested against have the same columns and layout as Cyber_Security_Breaches.tsv?
Also a query about the sample session provided in the brief:
% cyber_breaches Cyber_Security_Breaches.tsv maxstate
State with greatest number of incidents is: CA with count 113
% cyber_breaches Cyber_Security_Breaches.tsv maxyear
Year with greatest number of incidents is: 2013 with count 252
% cyber_breaches Cyber_Security_Breaches.tsv 2010
State with greatest number of incidents for 2010 is in CA with count 15
% cyber_breaches Cyber_Security_Breaches.tsv TX
Year with greatest number of incidents for TX is in 2013 with count 17
Are these results from the latest file or just examples? As I am getting these outputs which seem to be accurate from manual inspection of the data file but may be incorrect:
./cyber_breaches Cyber_Security_Breaches.tsv maxstate
State with greatest number of incidents is: CA with count 113
./cyber_breaches Cyber_Security_Breaches.tsv maxyear
Year with greatest number of incidents is: 2013 with count 254
./cyber_breaches Cyber_Security_Breaches.tsv 2010
State with greatest number of incidents for 2010 is TX with count 18
./cyber_breaches Cyber_Security_Breaches.tsv TX
Year with greatest number of incidents for TX is in 2010 with count 18
Thanks in advance.