Challenge: Find the Person with the Highest Salary
Test your understanding of the concepts we have covered so far by solving a simple challenge in this lesson.
We'll cover the following...
Problem statement
In this challenge, you are provided with the salaries of two people. Your task is to find the person with the highest salary.
Input
We have already initialized the variables salary1
and salary2
at the backend.