1. You are strictly not allowed to use any built-in function.
2. Divide the problem into sub-problems and write a function for all sub-problems.
3. Use Dynamic arrays and pointers, Do not use STRING datatype
QUESTION:
Write C++ program to find the longest sequence of numbers that are in consecutive sequence either in ascending or descending order in a file provided by the user. You must calculate the longest sequence and save it in a dynamic array and output it to the console.
Attachments:
Answers
Answered by
0
Answer:
hello everyone, I'm new here.
Similar questions