Reading from the Standard Input

This lesson explains the working of stdout and stdin in more detail and provides a common spacing problem regarding readf.

stdout #

As we’ve seen in the previous chapter, we don’t need to type stdout when displaying the output because it is implied. What needs to be displayed is specified as an argument. So, the statement write(studentCount) is sufficient to print the value of studentCount.

To summarize:

Get hands-on with 1200+ tech skills courses.