DEBUG04-01 - This pseudocode should create a report that...

This preview shows page 1 out of 1 page.

// This pseudocode should create a report that contains a// rental agent's commission at an apartment complex. The// program accepts the ID number and name of the agent who// rented the apartment, and the number of bedrooms in the// apartment. The commission is $100 for renting a three-bedroom// apartment, $75 for renting a two-bedroom apartment, $55 for// renting a one-bedroom apartment, and $30 for renting a studio// (zero-bedroom) apartment. Output is the salespersons// name and ID number and the commission earned on the rental.startDeclarationsnum salesPersonIDstring salesPersonNamenum numBedroomsnum COMM_3 = $100.00num COMM_2 = $75.00num COMM_1 = $55.00num COMM_STUDIO = $30.00

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture