Page 1 of 1

Write the function main: The user enters the number n from the keyboard, then the function f is called. Write an auxilia

Posted: Tue May 24, 2022 8:43 am
by answerhappygod
Write the function main: The user enters the number n from the
keyboard, then the function f is called. Write an auxiliary
function f which reads n integers from the keyboard and returns to
main the number of local minima of the entered sequence and the
value of the smallest one. Main displays the result. In case of
incorrect input the user should get an error message.