reads the info value

scanf("%d",&value);