00:01
Hello student, in corel language write the program whose inputs are the three inputs and whose outputs are the largest of the three values and the smallest of the three values.
00:12
So here suppose numbers are given 7, 15, 3 so this is the input here largest 15 and the smallest 3.
00:26
So in this way program should define and call two functions here.
00:30
Now, corel program defines the two functions larger number and the smallest number which takes the three integers as the input and returns the largest and the smallest number respectively.
00:41
The main program takes three integer inputs call these functions and then display the largest and the smallest value.
00:49
So here define the function to find the largest number.
00:53
So here function largest number is defined here it will take integer number 1, integer number 2 and integer number 3 and return integer large number.
01:05
So it will return the integer large number and here integer max number.
01:13
So here find the max among the number 1, number 2 and number 3.
01:18
So here number 1, number 2 and number 3 we have three numbers.
01:24
So here we have to find the largest...