This question involves the creation and use of a spinner to generate random numbers in a game. a gamespinner object represents a spinner with a given number

Answers

Answer 1

wheres the question?? we need more information and material.


Related Questions

Who was making the high-pitched growling noise that Francisco hears?

Answers

The high-pitched growling noise that Francisco hears is due to mating call of male midshipman fish or 5G.

What is the  hum about?

The Hum is known to be a kind of unexplained happenings that has brought a lot of irritations to people. It is known to be a high-pitched noise that brought a lot of scientific theories.

Studies has shown that the high-pitched growling noise that Francisco hears is as a result of  mating call of male midshipman fish or 5G.

Learn more about noise from

https://brainly.com/question/2278957

Java Unit 3: Lesson 3 - Coding Activity 3

Answers

Answer:

import java.util.Scanner;

public class MultiplicationTablePractice {

   public static void main(String[] args) {

       var scanner = new Scanner(System.in);

       var quit = false;

       while (!quit) {

           var randomNumber1 = (int) (Math.random() * 12) + 1;

           var randomNumber2 = (int) (Math.random() * 12) + 1;

           System.out.println(randomNumber1 + " * " + randomNumber2 + " = ?");

           var answer = scanner.nextInt();

           if (answer == randomNumber1 * randomNumber2) {

               System.out.println("Correct!");

           } else {

               System.out.println("Wrong!");

           }

           System.out.println("Quit? (y/n)");

           var quitInput = scanner.next();

           if (quitInput.equals("y") ||

               quitInput.equals("Y")) {

               quit = true;

           }

       }

       scanner.close();

   }

}

Explanation:

First, we create a new scanner object, based on the System.in stream. Then we create a varaible called quit which we set to false which we then use as the condition for the while loop.

Inside the scope of the while loop, we create two random numbers based off of Math.random(). The formula we use is (int) (Math.random() * 12) + 1; With these new variables, we print:

randomNumber1 + " * " + randomNumber2 + " = ? "

After this is printed, we scan the user input as an int.  We check the input answer against the actual answer to check if it's correct or not. If it is correct, we print "Correct!" otherwise we print "Wrong!".

Once all of this is handled, we ask the user if they want to quit or not. If the input is "y" or "Y" the while loop terminates, and the scanner closes. Otherwise, the while loop will continue, and restart the process.

what were the results of Dr.bjork's experiment

Answers

Answer:

Studying in different rooms seemed to improve a persons memory

Bruno is a network engineer who is tasked with adding a separate layer of protection to the control plane of a router. He wants messages with a bps (bits per second) rate below the threshold 7000 to be transmitted and the messages with a threshold above 7000 to be dropped. Analyze which of the following commands Bruno should use in pmap configuration mode in this scenario.

Answers

A network engineer has the duty of protecting a network from external or internal attacks that wants to compromise the integrity of the network.

What is Control Plane Policing?

This refers to one of the ways of protecting the control plane by policing the traffic coming into it.

The use of control plane policing is the feature that Bruno is making use of as he wants messages with a bps (bits per second) rate below the threshold of 7000 to be transmitted and the messages with a threshold above 7000 to be dropped.

Please note that your question is incomplete so I gave you a general overview to help you get a better understanding of the concept.

#SPJ1

Read more about network security here:

https://brainly.com/question/25720881

Need help finding the smallest number and ending the program with -1. This is what I got H = int(input("Enter a number or enter -1 to end)"))
smallest = H

counter=0
while(True):
number = int(input("Enter a number: "))
if(number == -1):
break
if(number < H):
smallest = number
print(number, "is the smallest")

Let me know What I'm doing wrong please

Answers

Answer: your not doing anything wrong it is all good but you need to add a little more to it

Explanation:

why 4gl is called non procedural language? explain in detail.​

Answers

Answer:

h The user, not the computer, specifies what is desired in terms of application.

Complete the sentence.
A(n) ___ interface is one that supports as many people as possible by considering disabilities, screen sizes, languages, and many other factors.

1. web-safe
2. accessible
3. inclusive ​

Answers

The answer is number 2 accessible

Start every formula with a(n) _____.

asterisk

addition sign

minus sign

equals sign

Answers

Start every formula with a(n) equals sign. Check more about formula below.

What is Excel Formulas about?

All formulas in Excel is known to often start with an equals sign (=).

This is base on the fact that the cell has , or is the same with the formula and the numbers or values that it is said to be calculating.

Conclusively, therefore, all one has to start every formula with a(n) equals sign.

Learn more about formula from

https://brainly.com/question/1216161

#SPJ1

what is a buffer in c++

Answers

Answer:

A buffer is temporary storage of data that is on its way to other media or storage of data that can be modified non-sequentially before it is read sequentially. It attempts to reduce the difference between input speed and output speedExplanation:

Cryptography is the practice of encryption. Information Security uses cryptography techniques to encrypt and decrypt data. A simple encryption method might take plaintext and mix up the letters using some predetermined pattern and then use that pattern to decrypt the data for reading.

Ciphers are the algorithms used to put the data into its secret pattern and then systematically decrypt it for reading. This script is going to use a famous simple cipher called the Caesar Cipher. It is a substitution cipher where each letter in the text is 'shifted' in a certain number of places. It uses the alphabet as the primary pattern and then based on the shift number, it would shift all the letters and replace the alphabet with our pattern.

For example, if our shift number was 3, then A would be replaced with D, if we performed a right shift. As an example:

Text = "THE CAT IS VISIBLE AT MIDNIGHT" Ciphertext = "WKH FDW LV YLVLEOH DW PLGQLIJKW"

The keys to decrypt this message are the shift number and the direction. The shift value can be any integer from 0 - 25. The above example uses shift = 3 and the shift direction is right or direction = 'r'.

Complete the CipherTest class by adding a constructor to initialize a cipher item. The constructor should initialize the shift to 0, and the direction to 'r' for right shift. If the constructor is called with a shift value, and direction, the constructor should assign each instance attribute with the appropriate parameter value.

Complete the following TODO's: (1) create input for text, shift value, and direction (use lower( )) to keep l and r lower case (2) create a cipher item and use the constructor with the above input values (3) use control structures to call shifttoright() if direction is right and call shifttoleft if direction is left. Make sure you print out the return encrypted message inside the control structures.

We can create the encrypted text by using the ord ( ) function. This function will return an integer that represents the Unicode code point of the character. Character are represented by different values for upp/er and lower case so an 'a' returns the integer 97. By using the unicode value we can add and subtract our shift value represented by an integer.

The given program accepts as input a text string as our message to be encrypted, a shift value, and a direction of 'l' for left and 'r' for right. The program creates a cipher item using the input values. The program outputs the encrypted message based on the shift value and the direction provided.

Ex: If the input is text = "Cryptography is fun!", shift = 4, and direction = l.
The output is:

Answers

The output of the text if the shift= 4 and the direction = l would be: Y.N.U.L.P.K.C.N.W.L.D.U   E.O    B.Q.J

What is Cryptography?

This refers to the art of writing and solving codes through the use of ciphertext.

Hence, we can see that the ciphertext we have is that there is a shift of 4 and it moves in the leftward direction thus, using the letters of the English alphabet, we would encode this and the output is: Y.N.U.L.P.K.C.N.W.L.D.U   E.O    B.Q.J

ABCDEFGHIJKLMNOPQRSTUVWXYZ

Read more about cryptography here:
https://brainly.com/question/88001


#SPJ1

Which sentence uses parallel structure correctly?
A. Texting while driving causes automobile accidents, people are
distracted, and it is bad.
B. The death penalty is cruel, really expensive, and criminals still
commit crimes.
OC. Animal testing has helped discover medicines, saves lives, and will
make people healthy.
OD. Processed foods are bad for you, are high in fat, and are the cause
of serious health issues.

Answers

Answer: Correct option is Option D.

Explanation:

Processed foods are bad for you, are high in fat, and are the cause of serious health issues.

Parallel structures are those structures where words are used in same pattern in a sentence to show that two given ideas/phrases are of similar significance.

This sentence uses parallel structure correctly.

Parallel structure in the sentence are -

are bad for you

are high in fat

are the cause of serious health issues

The sentence, which uses parallel structure correctly is "Animal testing has helped discover medicines, saves lives, and will make people healthy." The correct option is C.

What is parallel structure?

Parallel structure, also known as parallelism, is a grammatical structure in which words, phrases, or clauses in a sentence have a similar form and function. This means that elements within a sentence that are similar in meaning should be expressed in a similar way grammatically. The purpose of parallel structure is to create a balanced and cohesive sentence structure that is easy to read and understand.

For example, in the sentence "She likes hiking, swimming, and running," the verbs "hiking," "swimming," and "running" are all in the same gerund form, making them parallel in structure. Similarly, in the sentence "The dog chased the cat, barked at the mailman, and dug up the garden," the verbs "chased," "barked," and "dug" are all in the same past tense form, making them parallel in structure.

Parallel structure is important because it creates a sense of symmetry and balance in a sentence, making it easier to understand and remember. It also helps to emphasize the similarity or difference between two or more ideas or items, making them more noticeable to the reader or listener.

Therefore, The sentence that uses parallel structure correctly is option C. "Animal testing has helped discover medicines, saves lives, and will make people healthy." In this sentence, all the verbs are in the same form, and the sentence follows a consistent structure with the use of parallelism.

To learn about Jalen folded click:

https://brainly.com/question/8055410

#SPJ7

what is the best method to avoid getting spyware on a machine

Answers

Answer: The best method to avoid getting spyware on a user machine is to download software only from trusted websites. And depending on the machine it might say that "This download you are about to install might have spyware or malware and it might infect your laptop" "Do you wish to continue?"

What is the output of this program? Assume the user enters 3, 6, and 11.

numA = 0
for count in range(3):
answer = input ("Enter a number: ")
fltAnswer = float(answer)
numA = numA + fltAnswer
print (numA)

Answers

Answer: 20

That would be the sum of 3, 6 and 11.

Explanation:

numA = 0

This step creates a variable called num A with the value of zero.

for count in range(3):

This step repeats our following 3 lines of code 3 times.

   answer = input ("Enter a number: ")

   This line of code creates and sets the variable "answer" to the

   value of what the user enters.

   fltAnswer = float(answer)

   This step converts our prevous user input which was a string into a

   float. This is were the code screams if you were to enter a character

   instead of a number.

   numA = numA + fltAnswer

   This step adds the user input to the variable numA.

   Or more correct:

   This step sets the variable numA to its previous value plus the user

   input.

print (numA)

This step prints out numA. This line is also outside of the loop and

will only activate once when the loop ends.

why do you want to work from our company?​

Answers

Answer:

Hwhat

Explanation:

Answer:

I am dedicated, focused and loyal. I believe I am a right fit for this company because I will put in the hours and go the extra mile when necessary. In addition to that, I am also extremely punctual.

Paragraph on uses of computer 100 words plss​

Answers

REFER TO ATTACHMENT・ᴥ・

In a statement: Scanner keyboard = new Scanner (System.in);

it reads user input by means of a Scanner, the user types the line of input below, exactly as shown, including that same spacing.

What is the statement keyboard.nextDouble( ); returned ?

Answer "2": 1+2 is 3 and "5.0" squared is 25.0 !

Answers

Answer:

A misMatchException is returned.

Explanation: Keyboard.nextDouble(); is expecting a double as an input and the user entered a string first so an error is returned.

Which image file format consumes the most file
space?
0
GIF
JPEG
PNG

Answers

Answer: jpeg becauuse itss correct

This is your code. >>> A = [21, 'dog', 'red'] >>> B = [35, 'cat', 'blue'] >>> C = [12, 'fish', 'green'] >>> e = [A,B,C] How do you refer to 'green'? e(2, 2) e(2, 2) e(2)(2) e(2)(2) e[2][2] e[2][2] e[2, 2] e[2, 2]

Answers

So the final list is

e=[A,B,C]

Then

e=[[21,'dog','red'],[35,'Cat','blue'],[12,'fish','green']]

green is inside a nested list of index 2

C is at index 2 also

Hence required reference is

e[2][2]

Spam is _____.


a set of rules that you should follow when sending e-mail
a set of rules that you should follow when sending e-mail

an example of an ethical use of email
an example of an ethical use of email

the practice of sending unwanted messages to a large group of people
the practice of sending unwanted messages to a large group of people

a type of attachment

Answers

Answer:

any kind of unwanted, unsolicited digital communication that gets sent out in bulk

Which of these is NOT a type of spoofing? sending an e-mail that says it is from a certain bank but it is not

sending unsolicited advertisements to millions of people at once

creating a fake website for a well-known business

changing the number sent to caller ID with a phone call​

Answers

The option that is not  a type of spoofing is creating a fake website for a well-known business.

What is email spoofing?

Email spoofing is known to be a method  that is often used in spam and other forms of phishing attacks. This is often done to trick computer users to see that a message originate from a person or firm that they know.

Conclusively, The option that is not  a type of spoofing is creating a fake website for a well-known business as it is not what spoofing  is all about.

Learn more about spoofing from

https://brainly.com/question/23021587

#SJ1

Answer:

Sending unsolicited advertisements to millions of people at once.

Explanation:

I took the test.

. Find the sum of the squares of the integers from 1 to MySquare, where
MySquare is input by the user. Be sure to check that the user enters a positive
integer.

Answers

Answer:

in c

Explanation:

#include <stdio.h>

int sumSquares(int n) {

   if(n == 0) return 0; else if (n == 1) return 1; else return (n*n) + sumSquares(n - 1);

   }

   int main() {

       int mySquare;

       puts("Enter mySquare : ");

       scanf("%d", &mySquare);

       if(mySquare < 0) mySquare *= -1;// makes mySquare  positive if it was negative

printf("Sum of squares: %d", sumSquares(mySquare));

   }

In a portfolio, which document contains the names and contact details of persons who know you professionally?

A. résumé
B. reference letter
C. certificate
D. tracking worksheet
E. brochure

Answers

I believe it is A

Sorry if I am wrong

Answer: B: Reference letter

Explanation: yes

Harmful or malicious pages should always get a page quality (PQ) rating of Lowest in rating

Answers

Harmful or malicious pages should always get a page quality (PQ) rating of Lowest in rating is a true statement.

What is a malicious webpage?

A malicious website is known to be any kind of website that is set up to bring about harm such as a phishing website.

Note that low rating of Harmful or malicious pages  will make people realize that the site is not to be trusted and people will desist from using it.

Learn more about malicious pages fromhttps://brainly.com/question/23294592

Write a short note on Ms - Excel...​..

Answers

Answer:

Microsoft Excel is a spreadsheet program. It provides a grid interface to organize the various information. You can use Excel to create and format workbooks in order to analyse the data. Specifically, you can use Excel to track data, build models for analysing data, write formulas to perform calculations on that data, pivot the data in various ways, and present data in a variety of professional looking charts. Excel is used widely in financial activity. It has the ability to create new spreadsheets where users can define custom formulas for the calculation. Excel is also used widely for common information organization and tracking like a list of sales leads, project status reports, contact lists, and invoicing. Excel is also useful tool for scientific and statistical analysis with large data sets.

Submit your 300-word article review on a recent cyber bullying occurrence that lists five key points and offers your suggestions for two
things the article should have covered?

Answers

Bullying that takes place through the use of digital technologies is known as cyberbullying. Due to increasing technology, cyberbullying is increasing day by day.

What is cyberbullying?

Cyberbullying happens on social media, messaging platforms, gaming platforms, and mobile phones, among other places.

It is a pattern of behavior intended to frighten, anger, or shame those who are being targeted.

Thus, bullying that takes place through the use of digital technologies is known as cyberbullying. Due to increasing technology, cyberbullying is increasing day by day.

Learn more about cyberbullying

https://brainly.com/question/8142675

#SPJ1

Anyone want to try ?
Check Your Work: looping_lists.py
Make sure your looping_lists.py program prints the following items, in this order:

Answers

print("Using a for loop to print the colors list elements:")

print("Using a for loop with range(10) to print iterator values and a string:")

for i in range(10):

print(i, “Hello”)

counter = 0

print("Using a while loop to print iterator values and a string:")

while counter < 5:

print(counter, "Loop while the counter is less than 5")

counter = counter + 1

print("The for loop removes and prints list elements in stack order:")

for i in range(len(colors)):

print(colors.pop())

print("The colors list after all elements are removed:\n", colors)

new_colors = ["red", "orange", "yellow", "green", "blue", "purple"]

print("The loop prints and removes elements in the new_colors list in queue order:")

for i in range(len(new_colors)):

print(new_colors.pop(0))

print("The new_colors list after all elements are removed:\n", new_colors)

more_colors = ["violet", "pink", "brown", "teal", "magenta"]

more_colors_deque = deque(more_colors)

print("Elements in the more_colors list:\n", more_colors)

print("Elements in the deque object:\n", more_colors_deque)

print("Using a for loop to print the deque elements as a queue:")

for i in range(len(more_colors_deque)):

print(more_colors_deque.popleft())

print("Printing the deque object after all elements are removed:\n",

more_colors_deque)

explain approaches of AI​

Answers

A-artificial I-intelligent

Answer:

Main AI Approaches

There are three related concepts that have been frequently used in recent years: AI, machine learning, and deep learning.

Convert 108/10 to binary

Answers

Explanation:

The answer would be 1101100

Sorry, I cant tell you, you need to know

Answers

Answer:

answer a

Explanation:

sorry it’s for the points

In this lab, you add a loop and the statements that make up the loop body to a C++ program that is provided. When completed, the program should calculate two totals: the number of left-handed people and the number of right-handed people in your class. Your loop should execute until the user enters the character X instead of L for left-handed or R for right-handed.

The inputs for this program are as follows: R, R, R, L, L, L, R, L, R, R, L, X

Variables have been declared for you, and the input and output statements have been written.

Instructions
Ensure the source code file named LeftOrRight.cpp is open in the code editor.

Write a loop and a loop body that allows you to calculate a total of left-handed and right-handed people in your class.

Execute the program by clicking the Run button and using the data listed above and verify that the output is correct.

// LeftOrRight.cpp - This program calculates the total number of left-handed and right-handed
// students in a class.
// Input: L for left-handed; R for right handed; X to quit.
// Output: Prints the number of left-handed students and the number of right-handed students.

#include
#include
using namespace std;
int main()
{
string leftOrRight = ""; // L or R for one student.
int rightTotal = 0; // Number of right-handed students.
int leftTotal = 0; // Number of left-handed students.

// This is the work done in the housekeeping() function
cout << "Enter an L if you are left-handed, a R if you are right-handed or X to quit: ";
cin >> leftOrRight;

// This is the work done in the detailLoop() function
// Write your loop here.


// This is the work done in the endOfJob() function
// Output number of left or right-handed students.
cout << "Number of left-handed students: " << leftTotal << endl;
cout << "Number of right-handed students: " << rightTotal << endl;

return 0;
}

Answers

Answer:

#include <iostream>

#include <string>

//  R, R, R,  L, L, L,  R,  L,  R, R,  L,  X  ==>  6R 5L  X

void getLeftOrRight(std::string &l_or_r, int &total_l, int &total_r) {

 // notice how the above line matches:   getLeftOrRight(leftOrRight, leftTotal, rightTotal);

 // the values provided from the loop are given nicknames for this function getLeftOrRight()

 if (l_or_r == "L") {  // left-handed

   total_l++;

 } else if (l_or_r == "R") {  // right-handed

   total_r++;

 } else {  // quit

   // option must be "X" (quit), so we do nothing!

 }

 return;  // we return nothing, which is why the function is void

}

int main() {

 std::string leftOrRight = "";  // L or R for one student.

 int rightTotal = 0;            // Number of right-handed students.

 int leftTotal  = 0;            // Number of left-handed students.

 while (leftOrRight != "X") {  // whilst the user hasn't chosen "X" to quit

   std::cout << "Pick an option:" << std::endl;

   std::cout << "\t[L] left-handed\n\t[R] right-handed\n\t[X] quit\n\t--> ";

   std::cin  >> leftOrRight;  // store the user's option in the variable

   getLeftOrRight(leftOrRight, leftTotal, rightTotal);  // call a function, and provide it the 3 arguments

 }

 

 std::cout << "Number of left-handed students:  " << leftTotal  << std::endl;

 std::cout << "Number of right-handed students: " << rightTotal << std::endl;

 

 return 0;

}

Explanation:

This is my take on the question! I had no idea what was meant by the housekeeping(), detailLoop(), endOfJob() functions provided in their source code.

What my code does should be pretty explanatory via the comments and variable names within it — but feel free to make a comment to ask for more info! I've attached a screenshot of my code because I think it's easier to read when it's syntax highlighted with colors.

In this code, the while loop continues to execute as long as the user enters something other than 'X'.

You need to write a loop that repeatedly takes input from the user and updates the leftTotal and rightTotal variables based on the input until the user enters 'X' to quit.

Here's the completed code:

#include <iostream>

using namespace std;

int main()

{

   string leftOrRight = ""; // L or R for one student.

   int rightTotal = 0; // Number of right-handed students.

   int leftTotal = 0; // Number of left-handed students.

   cout << "Enter an L if you are left-handed, a R if you are right-handed or X to quit: ";

   cin >> leftOrRight;

   // Write your loop here.

   while (leftOrRight != "X") {

       if (leftOrRight == "L") {

           leftTotal++;

       } else if (leftOrRight == "R") {

           rightTotal++;

       }

       cout << "Enter an L if you are left-handed, a R if you are right-handed or X to quit: ";

       cin >> leftOrRight;

   }

   cout << "Number of left-handed students: " << leftTotal << endl;

   cout << "Number of right-handed students: " << rightTotal << endl;

   return 0;

}

In this code, the while loop continues to execute as long as the user enters something other than 'X'.

Inside the loop, the input is checked for either 'L' or 'R', and the appropriate total variable is incremented accordingly.

The loop then prompts the user for input again until the user decides to quit by entering 'X'.

Finally, the code displays the total number of left-handed and right-handed students.

Learn more about C++ program click;

https://brainly.com/question/33180199

#SPJ3

Other Questions
4x - 8 = 16 what does X equal to? Identify the category each belongs to, based on the food it consumes The leader of our research team has studied this issue for 10 years. She earned a PhD from Harvard University and has, since then, been a world leader in her field This statement reflects ________________ power. a. leadership b. referent c. coercive d. expert What is the constant of proportionality shown in thetable? Rippy spends 3 hours, 35 minutes, and 4 seconds driving on a road trip. How many seconds did she spend driving? Q 06. Payson is thrice as fast as Amen at completing a task. They both pick up a task together, and complete it in 5 days. How many days will Amen take to do it alone? Ops: A. O 10 days B. O 20 days C. O 25 days D. O 15 days What can you do to change your diet so you are eating healthier? A sample of gas initially occupies 3.50 L at a pressure of 795 torr at 32.0oC. What will the temperature be if the pressure is changed to 4.00 atm, and the volume is changed to 1.50 L Three college refrigerators are on sale at an appliance store. All three have storage areas that are cubes. The first has an internal measurement of 1.5 feet for each side. It costs $98. The second has an internal measurement of 2.1 feet for each side. It costs $142. The third has an internal measurement of 1.75 feet for each side. It costs $124. Comparing the cost per cubic foot, which refrigerator is the best buy?Please tell me what you did to solve this. Ty! Interpret Louise Mallards feelings and explain why she might have found the expectation of life after losing her husband as an opportunity to be Free! Body and soul free! Use details from the story to explain why Louise feels free. What does this freedom represent to her? From what is she free? Why was the palestine liberation organization formed?. please help Think of a force that you saw destroy a structure.. Describe it using the 3 terms: magnitude, direction, and point of applicationWhat is the difference between a dead load and a live load? external forces 9876x 96- 703 WILL MARK BRAINLEST HELP PLS ILL GIVE BRAINLIESTWhich expression is equivalent to 2(5s) + s?Group of answer choices11s12s6s + 210s + 5s^2 Complete the analogy.dry: wet :: cold :coarsehotchillymoist What is giving stadium shows increased competition? a) TV b) Arenas c) Clubs d) None of the above How would I solve I need to know Asap and what is the answer what effect would you expect the termperature of a material to have on the ease with which electrons can be ejected from it via the photoelectric effect Please select the word from the list that best fits the definitiona Greek city-statelist:agoracolonypeninsulaacropolispolis A mi maestro le _____ escribir en la pizarra.gustagustan