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.
Write the function main: The user enters the number n from the keyboard, then the function f is called. Write an auxilia
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am