Perchè non provi a postare un tuo tentativo di codice ?

Così si corregge e si fornisce il consiglio giusto ...