adding ex4, beginner program using printf, and scanf