Question: Problem: This is C programming language problem. I use DEV C++. Please give me this questions answer with output. Thanks Create a C program that
Problem: This is C programming language problem. I use DEV C++. Please give me this questions answer with output. Thanks
Create a C program that tests whether two sequences of positive numbers are order equivalent.

The program must accept the two sequences with no separator between the two. If the number of numbers accepted is n, the first n/2 numbers are assumed to be in the first sequence and the rest form the second sequence. The program must then check the sequences for order equivalence and print the result. You can assume that the maximum size of the two sequences is 100. You need to use 0 or any negative number to mark the end of the sequence.
Please remember to organize the code as below:
Have two functions besides main:
one that accepts the two sequences and
the other that checks for order equivalence and returns an integer depending on the test
The main function prints the message for the user.
You cannot use any global variables.
Grading:
Correctness: 10 (includes tests as well as code examination)
Proper use of C features,
Following specs: 4
Readability and documentation: 16 (split up as below)
| Criteria | Points |
| Function declaration at the top | 2 |
| Meaningful documentation before each function | 6 |
| Proper use of space to separate tokens | 2 |
| Indentation and alignment | 4 |
| Naming of variables | 2 |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
