Answer:
Explanation:
The following code is written in Java and loops through 10 times. Each time generating 2 random dice rolls. If the sum is 10 it breaks the loop and outputs a "You Win" statement. Otherwise, it outputs "You Lose"
import java.util.Random;
class Brainly {
public static void main(String[] args) {
UseRandom useRandom = new UseRandom();
boolean youWin = false;
for (int x = 0; x<10; x++) {
int num1 = useRandom.getRandom(6);
int num2 = useRandom.getRandom(6);
if ((num1 + num2) == 10) {
System.out.println("Number 1: " + num1);
System.out.println("Number 2: " + num2);
System.out.println("You Win");
youWin = true;
break;
}
}
if (youWin == false) {
System.out.println("You Lose");
}
}
}
class UseRandom{
public int getRandom(int n)
{
Random r=new Random();
int rand=r.nextInt(n);
return rand;
}}
Answer:
I do Stray kids and Tower Of God is good combo mannnn
Answer:
# import the turtle library
from turtle import *
# create a turtle space
space = Screen()
# create a turtle object
z = Turtle()
# create a single Z
z.forward(50)
z.right(120)
z.forward(100)
z.left(120)
z.forward(50)
# adjust the turtle position
z.up()
z.left...
Explanation:
Answer:
today I am going to be out for the job interview so if I will make it happen I am going to New Orleans this week to get the kids to work on the spot and I can get ready to go out to dinner and I can make a few more people
The keyboard combinations that can be used to capture and print out a one-slide presentation using MSWord, showing everything on the screen is Function key + PrtScr
<h3>What is a Key Combination?</h3>
This refers to the procedure that is used to combine two or more keys on the keyboard to execute a task.
Hence, we can see that the procedure that can be used to carry out the operation is:
- Enter the screen you want to capture and print
- Press the Function key, followed by the PrtScr. Please note this can vary slightly, depending on the keyboard.
The hardware devices that would be needed to be set up by the system analyst at a computer laboratory are:
- System Unit
- Laptops/Monitor
- Power adapters
- Ethernet cables, etc
The database applications that can be recommended by the system analyst are:
The five word processing packages that are likely to be installed are:
- G00..gle Docs
- MsWord
- MSOffice
- Dropbox Paper
- Corel WordPerfect
Read more about word processing here:
brainly.com/question/985406
#SPJ1