Hour 4. Getting Input and Displaying Output

Input and output are the cornerstones that enable programs to interact with the outside world. In the previous hour, you learned how important the output process is to programming because through output, your program displays information. A program must get some of its data and control from the user’s input, so learning how to get the user’s responses is critical as well.

The highlights of this hour include

Image Displaying output in JavaScript

Image Printing multiple occurrences per line

Separating output values ...

Get Beginning Programming in 24 Hours, Sams Teach Yourself, Third Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.