Added scanf(), which is a function frequently used