Question: Hi , Please solve below question using C++ programming language. Write a program that reads a list of 6 integers from input into a vector
Hi ,
Please solve below question using C++ programming language.

Write a program that reads a list of 6 integers from input into a vector and outputs "yes" if the list is sorted in ascending order between two provided positions. Otherwise, output "no". The last two inputs are the start and end positions (inclusive). Ex: If the input is: 567432 02 the output is: yes Ex: If the input is: 13253452 the output is: no 4484783067438 gxazq? 0/10
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
