00:01
Hello students, this question contains the algorithm.
00:06
Step 1, create an empty array of size 10 to store the number.
00:29
Step 2, for i equals to 0 to 9, a file from the user to enter a number.
00:56
We read the number and store it in the array at index i.
01:23
Step 3 is display all numbers.
01:40
Step 4, for i equals to 0 to 9.
01:50
Now display the number at index i in the array.
02:11
Step 5, set min equals to array of 0, max equals to array of 0.
02:30
Next step is for i equals to 1 to 9.
02:42
If array of i is less than min, then set min equals to array of i.
02:57
If array of i is greater than max, then set max equals to array of i.
03:22
Display the smallest number min and largest number max.
04:03
Now 8th step is, if there will be 8, we put again for loop, set for i equals to 1 to 9.
04:39
I will not read again, write display the smallest number.
04:50
Display the.
04:54
Now we will write the row chart.
05:01
Start, set i equals to 0...