1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Hatshy [7]
3 years ago
10

How do I write code in Java for "A spinner for a game has four possible options: blue, red, yellow, green. The chance of landing

on each option is equal. Simulate using the spinner 15 times and reporting the resulting color."?
Computers and Technology
1 answer:
melisa1 [442]3 years ago
7 0
What you need to do is to generate a random number between 1 and 4(or0 and 3) 15 times. Each time you generate a number, you figure out which number it is and keep track of how many times you’ve seen that number. At the end, print out how many of each number you got.

Good luck!
You might be interested in
What is computer system ?​
Over [174]

Answer:

a system that is a computer

6 0
3 years ago
Read 2 more answers
Help meee pleaseeee
MrMuchimi

Answer:

1. DO, RECEIVE

2. PERFORM

3. STORE, TAKE IN, CALCULATE

4. EXPRESS

5. COMPUTE, DISPLAY

Explanation:

1. A computer DO or RECEIVE data

2. Modern automatic digital computers PERFORM more than 100 mln operations in each second

3. A computer STORE information or data, TAKE IN a sequence of operations on information and CALCULATE answers.

4. The hardware inside the computer EXPRESS arithmetical operations or logical relations

5. When the computers COMPUTE results, they DISPLAY them.

1. DO, RECEIVE

2. PERFORM

3. STORE, TAKE IN, CALCULATE

4. EXPRESS

5. COMPUTE, DISPLAY

7 0
3 years ago
An attacker has obtained the user ID and password of a data center's backup operator and has gained access to a production syste
solong [7]

Answer:

D.

Explanation:

Based on the information provided surrounding this scenario, it can be said that the most likely next course of action would be to create an alternate user ID to maintain persistent access. This would allow the attacker to have continuous access into the network in the case that the system administrators detect that the operator's user ID and password have been compromised. Thus also giving the attacker ample time to infiltrate and find vulnerabilities in the network through an alternate hidden user ID.

3 0
4 years ago
What is looping in QBASIC​
Elden [556K]

A looping is a set of instructions which is repeated a certain number of times until a condition is met. hlo dai k xa halkhabar

3 0
3 years ago
To track conversions in an app, you can add the firebase sdk to your app. sdk stands for:
Setler [38]
<span>To track conversions in an app, you can add the firebase SDK to your app. SDK stands for: Software Development Kit.
</span>SDK includes <span>value-add tools, utilities, and framework components that are intended to provide a productivity boost when implementing and also licences </span><span>
that make them unsuitable for building software intended to be developed under an incompatible license.
</span>

8 0
4 years ago
Other questions:
  • The World Wide Web is a program that allows you to search for information on the Internet.
    11·1 answer
  • What is the Java source filename extension? What is the Java bytecode filename extension?
    14·1 answer
  • What is the difference between print and nonprint sources?
    9·1 answer
  • A STUDENT can take many COURSES and a COURSE can have more than one STUDENT enrolled in the course. In this case, both the "stud
    5·1 answer
  • Which of the following is not a characteristic of a motorcycle?
    6·1 answer
  • What are the different types of firewalls? Which one is best?
    5·1 answer
  • Write fade in shorthand​
    11·1 answer
  • Who is the founded the java computer language?​
    5·1 answer
  • Explain how a magnetic hard disk drive (HDD) operates.
    12·1 answer
  • How can touch typing increase productivity of a business?
    15·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!