n queen problem
I am trying to modify this code i got from the internet where the users can input the N size of the chessboard however I always get errors. Here is the code: https://code.sololearn.com/cCdCkOpsa04z/#java
looks incomplete https://www.sololearn.com/post/75089/?ref=app
so what error you have and which line it occur ?
https://code.sololearn.com/cCdCkOpsa04z/#java oh sorry, please see the complete code here.
oh, i didnt do it here in sololearn, i was seeking for help because i knew some of you guys could help me beside stackoverflow
like adding JOptionPane so the users could input the N, and pass it on the methods sometimes i get IndexOutofBoundsException, because in the original code which i show you, it was only limited in 8x8 queens, i'd like to modify it so users could specify the size
Question is write a c program to print prime numbers up to n and print the largest number in array.
Error in Program