Question creating 2 methods

We shouldn't have to read your entire assignment and every line of code to be able to answer your question. You need to narrow down the problem and provide the specific information that is relevant to your specific issue. One thing that beginners often ignore is that, when they have a specific assignment, they are allowed to write code that isn't for that assignment. If you are having a specific issue with a specific part of the assignment then you're allowed to create a separate project and write code to isolate the specific functionality that you're having trouble with. The fewer moving parts there are, the easier it is to determine where an issue is. You can learn lots of specific things this way and then put them all together at the end to answer the original assignment. You should ALWAYS divide and conquer, i.e. break a problem down into its smallest parts and address each part separately. Once you have lots of small solutions, you inherently have the one big solution.
 
Just a quick answer:
C#:
class SoftDev74
{
    void AskQuestion()
    {
    }

    void ShowAnswer()
    {
    }
}
 
Back
Top Bottom