The program is an illustration of functions
<h3>What are functions?</h3>
Functions are named program statements that are executed when called or evoked
<h3>The actual program</h3>
The program written in Python, where comments are used to explain each line is as follows:
#This defines the function
def SwapValues(a, b, c, d):
#This returns the swapped values
return b, a, d, c
#The following gets input for the four integers
a = int(input())
b = int(input())
c = int(input())
d = int(input())
#This calls the SwapValues function
a, b, c, d = SwapValues(a, b, c, d)
#This prints the swapped values
print(a,b,c,d)
Read more about python functions at:
brainly.com/question/14284563