#LMC program that accepts an indefinite number of input #values. The output value will be the largest of the #input values. Zero is used as a flag to indicate the end #of input. IN STO LARGEST #store the first number in N1 LOOP IN BRZ END STO TEMP #store new value temporarily SUB LARGEST BRP L1 BR LOOP L1 LDA TEMP STO LARGEST BR LOOP END LDA LARGEST OUT HLT LARGEST DAT 000 TEMP DAT 000