Ad
  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar

    The test case are just for testing your code before submitting.

    If you build a calculator, a test case could test to ensure that 1+1 returns 2

    A test case is NOT required for passing the challenge. They are for testing only. One does not need to test if you know what you're doing

  • Default User Avatar

    You could write one. Or if you're good enough, don't use the test case, just submit once your code is logically correct.

  • Default User Avatar

    You dont need to type anything in the test cases. Those are for testing. There are test cases written for when you submit it.

    I ocmpleted this challenge with no effort, using Java. So I know it's not broken.

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar

    Theres more too it than that bud. Follow the logic. You're saying everything that's not 0 and divisable by 3 is Java.

    What about Coffe, CoffeeScript, and Javascript?

    if (n != 0) {
          if (n%3==0 && n%4 != 0) {
            if(n%2==0)  {
              return "JavaScript";
            }
            else {
              return "Java";
            }
          
          }  // not devis 4
          
          else if (n%3==0 && n%4==0) {
            if(n%2==0) {
              return "CoffeeScript";
            }
            else {
              return "Coffee";
            }
            
          } // devise form  
              
        } // MAIN IF
        
        
        return "mocha_missing"; // ELSE!!!!!!!!!!!!!!!!!!
    
  • Default User Avatar

    Is not a fundamental question

  • Default User Avatar
  • Default User Avatar

    What is a test case?

  • Default User Avatar

    Terrible, terrible. Mot instructions given to round.

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution