So im just starting learrning code, and I am also using code.org as a starter tool. I'm on a lesson where it says to;

write a program that simulates the rolling of two dice. Keep rolling the dice UNTIL the sum of the dice is either a 7 OR an 11.

And I am having very much trouble for figuring out how to do that. Again, I am very new to coding.

The most common source of this issue is skipping the lessons. Go back through the tutorials since good classes and tutorials build up to the assignment. Skip a chapter and it's like an Ikea kit missing a component.

Here's some pseudo-code to point you in the right direction

do
    get two random numbers 1-6
    sum  them together
while( the sum is not 7 or 11)
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.