AC voltage measurement 0-250V AC for variac

I would like to measure my variac's output voltage. I then want to display with three 7-segment led displays, or an LCD.
Anyone know how to do this, and share little coding ideas?