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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!