This may sound cold, but if you cannot, or refuse to accomplish the requirements of the class, then you have already failed. If you choose to seriously consider passing your class, then please make a topic in another forum category that meets the following requirements, in order of importance:
1) Please show what efforts that you have made. This could be in the form of pseudo-code, source code, or pretty much any other form of expression that shows that you genuinely care about solving the problem.
2) Please provide more information about the problem statement.