How to prevent printing the same output 5 times

Printable View