Question: #Write an awk script that will output the most popular dog breed based on number of votes using the information from the following entirely unbiased
#Write an awk script that will output the most popular dog breed based on number of votes using the information from the following entirely unbiased survey.
Input file:
Breed, Votes
Black Lab, 30
Chihuahua, 2
Pug, 1
Corgi, 45
Shar Pei, 21
Shih Tzu, 5
Maltese, 7
Output expected:
Corgi has 45 votes
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
