Describe an algorithm that takes as input a list of n distinct integers and finds the location of the largest even integer in the list or returns 0 if there are no even integers in the list.

Solution:Step-1:In this problem we need to describe an algorithm that takes as input is a list of n distinct integers and gives output as the location of the largest even integer in the list.Step-2:The algorithm is :Procedure largest even integer (list of integers and large = 0for If then .then begin and k = ireturn k { k is the location of the largest even integer }.Thus, the above steps describes the algorithm where input is a list of n distinct integers and gives output as the location of the largest even integer in the list.