Question: 10. Write a program that uses a loop to find the minimum of a vector x, without using any predefined functions like min(...) or sort(...).

10. Write a program that uses a loop to find the minimum of a vector x, without using any predefined functions like min(...) or sort(...). You will need to define a variable, x.min say, in which to keep the small- est value you have yet seen. Start by assigning x.min
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
