Answer the following question :
Write an algorithm for the following: Input two numeric values. If the second is larger than the first, perform a real division. Otherwise, perform an integer division.
Output will be the two numbers, the result of the division, and the word real or integer depending on which kind of division was performed.