Update main.c

removed scanf