Sales is real Customers is integer startmainprog input Sales input Customers if ((Sales > 500) OR ((Sales > 300) AND (Customers>9))) then output “Bonus Awarded” else output “No Bonus” end if end subroutine. Sales = 600 Customers = 9, answer:

For the values Sales = 600 Customers = 9, the following algorithm will print out the message "Bonus Awarded".

Answered by Python tutor

1140 Views

See similar Python Mentoring tutors

Related Python Mentoring answers

All answers ▸

Sort a given input of lowercase letters alphabetically


Which four data types are used in Python? Can you give an example of each?


What are the main data structures that I can use in Python


What would you expect to be the output of the following code snippet: `a = [1, 2, 3]; b = a; b[1] = 4; print(a); print(b);`, and why?


We're here to help

contact us iconContact usWhatsapp logoMessage us on Whatsapptelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

© MyTutorWeb Ltd 2013–2025

Terms & Conditions|Privacy Policy
Cookie Preferences