Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Please explain directions on how to run this program and what info to put in the

ID: 3743239 • Letter: P

Question

Please explain directions on how to run this program and what info to put in the csvfile. I am very lost and need detailed instructions.

Modify the “Lookup” program given in the textbook (program 4.4.1) to make a program “LookupMultipleNumber” that prints out multiple values having the same key. [MO7.1]

Notes: The user would specify the maximum number of values to be printed out as a command line argument after the file name.

Store all such multiple values in a queue.

Sample runs would be as follows (refer to input file amino.csv).

>java LookupMultipleNumber amino.csv 2 3 0
Tryptophan
TGG
Cysteine
TGT TGC
<CTRL-D>

>java LookupMultipleNumber amino.csv 6 3 0
Cysteine
TGT TGC
Leucine
TTA TTG CTT CTC CTA CTG
<CTRL-D>

630 % more amino.csv TTT, Phe, F, Phenylalanine TTC, Phe, F, Phenylalanine TTA, Leu, L, Leucine TTG, Leu, L, Leucine TCT, Ser,S,Serine TCC, Ser,S, Serine TCA, Ser, S,Serine TCG, Ser,S, Serine TAT,Tyr,Y, Tyrosine TAC, Tyr, Y, Tyrosine TAA, Stop, Stop, Stop GCA ,Ala,A,Alanine GCG,Ala,A,Alanine GAT,Asp,D,Aspartic Acid GAC,Asp,D,Aspartic Acid GAA,Gly,G,Glutamic Acid GAG, Gly,G,Glutamic Acid GGT,Gly,G, Glycine GGC,Gly,G,Glycine GGA,Gly,G,Glycine GGG,Gly,G,Glycine

Explanation / Answer

please find the new code aboce which will print multiple values for a key. In case of any issues/doubt, please do comment and i will help. If posisble, please upvote, as i am in greate need of upvotes. Thankyou.