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
ladessa [460]
3 years ago
5

Have you ever seen a Magic 8 ball? You ask it a yes-no question and then shake it to get a random response like “Signs point to

yes!”, “Very doubtful”, etc. If you’ve never seen a Magic 8 ball, check out this video.
We encourage you to work in pairs for this challenge. Come up with 8 responses to yes-no questions. Write a program below that chooses a random number from 1 to 8 and then uses if statements to test the number and print out the associated random response from 1-8. If you need help with random numbers, see lesson 2.9.

public class Magic8Ball
{
public static void main(String[] args)
{
// Get a random number from 1 to 8

// Use if statements to print out 1 of 8 responses


}
}
1
public class Magic8Ball
2
{
3
public static void main(String[] args)
4
{
5
// Get a random number from 1 to 8
6
​
7
// Use if statements to print out 1 of 8 responses
8
​
9
​
10
}
11
}
Computers and Technology
1 answer:
WITCHER [35]3 years ago
3 0

Answer:

ok ok ok

]ok

ok

okm

ok

Explanation:

You might be interested in
If you want to design computing components for cars and medical
Marysya12 [62]

Computer engineering is the course you have to study if you want to design computing components for cars and medical equipment.

<h3>What Is Computer Engineering?</h3>

Computer Engineering is known to be one filed that is made up of the fields of electrical engineering and also that of computer science to form new kind of system hardware or software.

Based on the above, Computer engineering is the course you have to study if you want to design computing components for cars and medical equipment.

Learn more about Computer engineering from

brainly.com/question/24181398

#SPJ1

4 0
3 years ago
Scenario: You are part of an IT group managing Active Directory for a mid-size organization. A contracted research group with th
SCORPION-xisa [38]

Explanation:

1.

the answer to the first question is <u>organizational unit</u>. this is because in this scenario that we have before us, cost is a deciding factor. a unit as this can adapt to changes, it is flexible and also not very complex

2.

answer to question 2 is <u>PDC emulator</u><u>.</u><u> </u>this emulator can perform the function synchronization of time across every domain controller that is in the domain. other of its functions are, authentication and changing of passwords.

3.

the answer to the 3rd question is <u>child domain</u><u>.</u><u> </u>It is a factor in this scenario because it works well in a situation where there is an issue of slow network connection.

6 0
3 years ago
A company is building an expert system for use in stock trading. In which part will they have to invest the most if they have to
Korolek [52]
The answer is C because they need to store a massive amout of data
4 0
3 years ago
When you set code inside other code, in an orderly fashion, it is called:
V125BC [204]

Answer:

It is called Nesting

Explanation:

or in this case B

5 0
3 years ago
Explain the steps users can take to maintain an operating system
Mars2501 [29]

First is it to always clean out all the junk that is left behind by the operating system and the browsers. You can easily do this using the Disk Cleanup utility included on the windows systems. You can clean up the registry. However, you should be very careful with the registry. Any wrong move might mess up everything


Search and destroy viruses and malware on your PC by installing an anti-virus security program and setting up an automated maintenance schedule.


Defragment main and partitioned drives to keep your computer running smoothly.


Uninstall software programs and personal files like pictures, movies and music that are no longer in use to free up more space. The more the space, the faster the PC will go. You can also run the msconfig command in the RUN command prompt to uncheck start up programs that you do not use

4 0
4 years ago
Other questions:
  • A computer processes data using only 1s and 0s.<br><br> A.True<br><br> B.False
    12·1 answer
  • When encountering another vessel in darkness or reduced visibility, what do visible red and green lights indicate
    9·1 answer
  • Templates allow for the quick creation of _____.
    7·1 answer
  • What is the difference between cout and cerr?
    14·2 answers
  • A user has requested a field that counts the number of child records associated with a custom object. These custom objects have
    5·1 answer
  • How much does it cost to go to csun school
    15·1 answer
  • WILL GIVE BRAINLIEST
    5·2 answers
  • Funtion is excel define​
    12·1 answer
  • Determine what is printed by the following code.
    8·1 answer
  • Does anyone know how to permanently delete photos on a dell computer? For my cousin.
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!