Question: Suppose you have a program that reads and integer, followed by a character, using the following prompt and read statement: WRITE (Enter an Integer and
Suppose you have a program that reads and integer, followed by a character, using the following prompt and read statement:
WRITE (Enter an Integer and a Character): READ (intval, charval); When you run the program you type in the following in response to the prompt:
Enter an Integer and a Character: 1257 Z
When you check the value of charval, you discover that it does not contain "Z". Why not? What would expect to find there?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
