Questa

http://areeweb.polito.it/didattica/f.../Sol06/ES6_2.C

ti aiuta?