Method calling and joptionpane errors

I'm working on a random number guessing game with 5 tries that uses standard JOptionPane GUI and 3 methods, the requirements have each method doing a specific task.

The main method starts a game is supposed to handle the 'you won' or 'you lost' dialogue and play again if the user clicks ok and stop if they click cancel.

the playGame method plays a full game and returns a boolean value if the user wants to play another.

and the compareTo method compares the guess with the actual random answer and returns a 0 if true, potivie is guess was too, and negative is guess was too low.

I cannot see why I'm getting a compiler error from my joptionpane messages, the syntax seems correct. Would I need to make a global counter variable for won or lost option in the main method? either that or make a new boolean called win in the main? I've coded myself into maze. Any help is appreciated.

Got it to compile but it wont give more than once chance to play, and when I click ok to play again it closes. This is an issue with my main method, not sure how to use the confirmdialog to change playAgain to true

I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...

Write a C program that should create a 10 element array of random integers (0 to 9). The program should total all of the numbers in the odd positions of the array and compare them with the total of the numbers in the even positions of the array and indicate ...