Question: Given the following information: The program initially prompts the user to Enter first name or , EOFNAME, to quit, the user enters the
Given the following information:
The program initially prompts the user to "Enter first name or EOFNAME, to quit", the user enters the name as John Smith. The hours and rate are entered as:
for hours
for rate
The program receives the following information after each prompt.
Mary Beth as name
as hours
as rate
George Swanson as name
as hours
as rate
ZZZ as name
Question: How many times is the while statement executed?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
