We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prime Dates
- Discussions
Prime Dates
Prime Dates
Sort by
recency
|
81 Discussions
|
Please Login in order to post a comment
There's no code for JavaScript
Java:
here is the sol:
import java.util.; import java.lang.; import java.io.; import java.math.;
public class Main {
}
public static int findPrimeDates(int d1, int m1, int y1, int d2, int m2, int y2) { storeMonth();
}
This is the solution for c#, i used a c++ to c# converter to convert the code from the one provided for c++ 11 and get the original code(with the mistakes) of the problem because there was no code provided to debug
using System; using System.Linq;
class Program { static int[] month = new int[15];
}
Here is HackerRank prime dates problem solution in Python, Java, C++, C and javascript
C# has an empty Main method, so impossible to complete without modifying more than 5 lines of code.