Warm welcome

Report a typo

Morgan founded a company that sends satellites into orbit to observe Earth from space. To headhunt the best aerospace engineers, Morgan decided to pay a welcome bonus equal to 35% of the base salary. However, the bonus may be even higher for a particular candidate.

Declare a function get_bonus() below that would calculate this bonus. It should take two arguments, salary and percentage, with a default value of 35 for the last one. Return the bonus value as an integer.

Write a program in Python 3
def get_bonus(salary, percentage):
pass
___

Create a free account to access the full topic