![]() So, we can use this in an assignment statement to store that value in a variable. Instead, when evaluated the INPUT() expression will simply result in whatever input value is provided from the user. It works just like a procedure, similar to DISPLAY(), but it doesn’t require any parameters. We can use the INPUT() expression in pseudocode to get input from the user. So, let’s introduce a new expression in pseudocode that allows our programs to receive input from the user. This allows programs to truly be interactive and perform work based on what the user needs. While that approach is great for learning the basics, real programs often need to receive data as input from the user. ![]() So far, we’ve mainly focused on writing programs that can store and manipulate data, but the data itself has always been included in the code itself.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |