// This pseudocode segment is intended to compute the cost per // day for a vaca
ID: 3635158 • Letter: #
Question
// This pseudocode segment is intended to compute the cost per// day for a vacation. The user enters a value for total dollars
// available to spend and can continue to enter new dollar amounts
// while the amount entered is not 0. For each new amount entered,
// if the amount of money available to spend per day is below $100,
// a message is displayed.
input totalDollarsAvailable
while totalDollarsAvailable not = 0
dollarsPerDay = totalMoneyAvailable / 7
output dollarsPerDay
endwhile
input totalDollarsAvailable
if dollarsPerDay > 100 then
output “You'd better search for a bargain vacation”
endwhile