Here is your program pseudo code. Feel free to ask any
doubt.
START
FUNCTION cleaning(bath,room)
  declare charge
  charge=40+bath*15+room*10
  RETURN charge
END FUNCTION
Declare bath, room, charge
Display \"Welcome to the Hansel's Housecleaning
Service\"
Display \"Enter customer's last name\"
Read name
WHILE( name!='zzz')
  WHILE(TRUE)
     Display \" Enter the number of
bathrooms\"
     Read bath
     Display \" Enter the number of
rooms\"
     Read room
     IF bath>=0 and room>=0
        break
     END IF
  END WHILE
  charge=cleaning(bath,room)
  Display \"total cleaning charge for the customer\"
charge
  Display \"\"Enter customer's last name\"
  Read name
END WHILE
Display \"Thanks for using Hansel's Housecleaning
Service\"
STOP