New ordering system sorting

Here's the objective of the program: "Instead of using ABCDEFGHIJ to order letters use DCBAJIHGF go order. The program should determine which 4-letter word is larger of two based on this new ordering system."

Not even sure how to start with this problem , how would I go about defining my own ordering system?
are you familiar with with strncmp function in c?

I think you need to write a variant of this function.
Topic archived. No new replies allowed.