How do you plan to solve it?
module jk_ff ( input CLK, input J, input K, output reg Q ); // Write your code here always @(posedge CLK ) begin Q<=(J&~Q)|(~K&Q); end endmodule