Cumulative Project 3

public class MainActivity {

// Add generateRandomNumber() here
int questionsRemaining;
int max = questionsRemaining - 1;
int randomNumber;

int generateRandomNumber(int max){
double randomNumber =
return ;…???

I am completely lost!! there is no cheatsheet help and no tutorial video.

What is the exact question you are trying to ask?

I noticed you have the assignment operator here, but no value being assigned.

Note: please format your code using the </> button in all future posts, it helps with readability. :slight_smile:

You can find all the Java cheatsheets here (just click on the desired topic on the left).

Which project are you referring to? Some of the projects have walkthrough videos you can access by clicking “Get Help” in the bottom right corner.

Hello @coderunner_pks2.

Please take down your solution; we want to encourage users to problem-solve, think through the problem to solve it, and ask questions to learn, rather than copying off of someone else’s code.

Additionally, please avoid reviving old threads (the last reply on this one was 2 months ago).