waiting for answerThere is problem in the output where it is just displaying last values just displaying last row valu...