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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!