Question: hi , i want to create a python and c++ program dor the following create a program that has a function that will accept an
hi , i want to create a python and c++ program dor the following
-
create a program that has a function that will accept an array
-
once again you can just randomly generate 10 numbers
-
the function MUST use a For ... In loop
-
it will find the smallest value in the array and pass it back as a single variable
-
-
-
you MUST use a loop, you can not use a built in "smallest" function!

Here is a list of random numbers: The random number 1 is: 86 The random number 2 is: 64 The random number 3 is: 66 The random number 4 is: 63 The random number 5 is: 12 The random number 6 is: 24 The random number 7 is: 61 The random number 8 is: 52 The random number 9 is: 28 The random number 10 is: 43 The smallest number is 12 Done
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
