Hey everybody, this is my first post and i'm fairly new at programming in general but i am intersted in it, i was just wondering how i'd be able to go through an array and omit duplicate values in it?

so far, i've created an array and using a "for" loop, i've allowed the user to input 20 int values to the array, but i'm stuck now, i can't seem to figure out how to omit duplicates and display the values once

hopefully somebody can help me out?

thanks in advance,
Tony