hey, could you please help me for this(could you please give me video link to learn this)

Write a program that will prompt the user for two (2) numbers. Create a function that will return the value of the largest number. Display the output as such:

For first number X, and second number Y, X is greater than Y or X is less than Y or X is equal to Y.