Array problem , 3buttons and three leds

int val = 0; becomes int val[3] = {0,0,0};

Mark