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
Lelechka [254]
2 years ago
11

All dogs = 199999990158161231

Computers and Technology
2 answers:
Verdich [7]2 years ago
4 0

Answer:

B

Explanation:

devlian [24]2 years ago
3 0

Answer:

C=D cause d spells dogs jk I really dont know

You might be interested in
Can I change my brainly username?
Stells [14]

no im pretty sure you cant


5 0
3 years ago
Read 2 more answers
In rolling a die four times, what is the odds that at least one 5 would appear?
Ronch [10]

Answer:

The probability that at least one 5 will appear in 4 rolls of die equals \frac{671}{1296}

Explanation:

The given question can be solved by Bernoulli's trails which states that

If probablity of success of an event is 'p' then the probability that the event occurs at least once in 'n' successive trails equals

P(E)=1-(1-p)^{n}

Since in our case the probability of getting 5 on roll of a die equals 1/6 thus we have p = 1/6

Applying the values in the given equation the probability of success in 4 rolls of die is thus given by

P(E)=1-(1-1/6)^{4}=\frac{671}{1296}

4 0
3 years ago
Write the definition of a method named countPos that receives a reference to a Scanner object associated with a stream of input
NNADVOKAT [17]

Answer:

Here is the method countPos    

  static int countPos(Scanner input){ //method that takes a reference to a Scanner object

   int counter=0;  // to count the positive integers  

   int number; //to store each integer value

   if(input.hasNextInt()){ //checks if next token in this scanner input is an integer value

       number=input.nextInt(); //nextInt() method of a Scanner object reads in a string of digits and converts them into an int type and stores it into number variable

       counter=countPos(input); //calls method by passing the Scanner object and stores it in counter variable

       if(number>0) //if the value is a positive number

           counter++;    } //adds 1 to the counter variable each time a positive input value is enountered

   else    { //if value is not a positive integer

       return counter;    } //returns the value of counter

   return counter; } //returns the total count of the positive numbers

Explanation:

Here is the complete program:

import java.util.Scanner; //to take input from user

public class Main { //class name

//comments with each line of method below are given in Answer section

static int countPos(Scanner input){

   int counter=0;

   int number;

   if(input.hasNextInt()){

       number=input.nextInt();

       counter=countPos(input);

       if(number>0)

           counter++;    }

   else    {

       return counter;    }

   return counter; }

public static void main(String[] args) { //start of main function

       System.out.println("Number of positive integers: " + countPos(new Scanner(System.in)));  } } //prints the number of positive integers by calling countPos method and passing Scanner object to it

The program uses hasNextInt method that returns the next token (next input value) and if condition checks using this method if the input value is an integer. nextInt() keeps scanning the next token of the input as an integer. If the input number is a positive number then the counter variable is incremented to 1 otherwise not. If the use enters anything other than an integer value then the program stops and returns the total number of positive integers input by the user. This technique is used in order to avoid using any loop. The program and its output is attached

3 0
3 years ago
Select the statements that are true regarding the future of technology. Select 2 options.
oee [108]

The answers are B and D

hope this helps

8 0
3 years ago
Read 2 more answers
dentify the type of observational study​ (cross-sectional, retrospective, or​ prospective) described below. A research company u
valentinak56 [21]

Answer:

A cross-sectional study  

Explanation:

Cross-sectional research in psychology is defined as using a variety of people who differ in the variable of interest but carries other characteristics as well, including educational background, ethnicity, socioeconomic status, etc. It is often used by a researcher who studies developmental psychology. it is used for population-based surveys and to assess the prevalence of disease. These studies are usually inexpensive and relatively faster.

5 0
3 years ago
Other questions:
  • A firewall, when properly implemented, can prevent most attacks on your system.
    11·1 answer
  • The main purpose of a constructor is to initialize the data members at the moment that an object is created. true or false?
    8·1 answer
  • Conversion of a continuous stream of sound into a series of ones and zeroes that can be interpreted by computers results in
    12·1 answer
  • What is the TAG to begin a Web page, as recommended by the W3C?
    13·1 answer
  • What does a production possibilities curve represent?Which of the following statements are true? Economic stability means fair d
    9·1 answer
  • Can someone solve this for me please? It’s part of an escape room.
    13·2 answers
  • 8.7 Code Practice: Question 2 edhesive
    14·2 answers
  • What dog breed is this
    6·1 answer
  • Use the drop-down menus to explain what happens when a manager assigns a task in Outlook.
    6·2 answers
  • A folder is a collection of related of data is true or false​
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!