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
Kisachek [45]
2 years ago
9

Red + blue =Red + green =Magenta - blue =Yellow - green =Cyan - blue =​

Computers and Technology
1 answer:
vodomira [7]2 years ago
4 0

Answer:

red + blue is green

red + green is blue

You might be interested in
Create a Racket procedure compute_pos that reads numbers from the keyboard until 0 is read, count how many positive numbers are
Artyom0805 [142]

Answer:

import java.util.Scanner;

public class Solution {

   public static void main(String args[]) {

       compute_pos();

     }

     

     public static void compute_pos(){

     Scanner scan = new Scanner(System.in);

     int sum = 0;

     int counter = 0;

     // Prompt the user to enter an input

     System.out.println("Enter your value");

     // user input is assign to the variable value

     int value = scan.nextInt();

     

     while(value != 0){

         if (value > 0){

             sum += value;

             counter++;

         }

         System.out.println("Enter your value");

         value = scan.nextInt();

     }

     // Display the value of sum to the user

     System.out.println("The sum of the positive number is: " + sum);

     // Display the value of counter to the user

     System.out.println("The number of positive number is: " + counter);

   }

}

Explanation:

The first line import the Scanner class which allow the program to read input from the user. The class Solution is then defined. Then the main method which signify the beginning of execution in the program is defined. A method is called inside the main method.

The method compute_pos is defined. Inside the compute_pos method, a scanner object scan is declared to accept input from the user via the keyboard.

The variable sum and counter is declared and assigned to 0.

A prompt is displayed to the user to input a value. The user input is accepted and stored in the variable value.

Then a while loop is use to check the user input if it is not equal to zero. If it is equal to zero, the loop will end. Inside the loop, we first check to see if the user input is greater than 0, if it is, we add it to the variable sum and increase our counter by 1. At the end of the loop, a prompt is again display to accept input from the user.

Outside the loop, we display the sum and counter to the user.

8 0
3 years ago
toThePowerOf is a function that accepts two int parameters and returns the value of the first parameter raised to the power of t
zlopas [31]

Answer:

cubeVolume = toThePowerOf(cubeSide, 3);

Explanation:

The line above accomplishes the task of calling the function toThePowerOf(). We are told in the question that the method accepts two int parameters these integer parameters are given as cubeSide and 3. They are passed as arguments when the method is called. The result of the function's computation is then assigned/stored to the the variable cubeVolume.

4 0
3 years ago
I need help with coding, why isn't this command working pls help
astraxan [27]

Answer:

You type error word

8 0
2 years ago
Read 2 more answers
fill in the missing dtd so that an xml file containing this dtd would allow for multiple day tags within a channel and the const
alexira [117]

The DTD makes specific declarations about which elements and attributes may exist in a document and how they should be nested using a brief formal syntax.

A XML language can be defined in a variety of ways. Simple prose, a so-called Schema language, or eventually a combination of the two could be used to specify an XML vocabulary. The XML Standard defines DTDs, the most basic schema language.

The term "Document Type Definition" is used. A DTD is a language made up of rules (also known as a schema) that describes an XML application, also known as an XML vocabulary. For instance, the grammar for the XHTML 1 web markup language is formally defined in the file xhtml1-transitional.dtd, which is accessible through the XHTML 1.0 specification page.

The DTD itself is typically the most crucial component of a DTD-based markup language, but additional constraints can be included as well.

To know more about DTD click here:

brainly.com/question/17438821

#SPJ4

8 0
8 months ago
What is hard copy output?​
Nikolay [14]

Answer:

the digital document file which is printed on paper or other material like transparency.

5 0
2 years ago
Read 2 more answers
Other questions:
  • Pretrial services programs are also known as early intervention programs. <br> a. True <br> b. False
    15·1 answer
  • Shapes in the Shapes gallery can be combined to show relationships among the elements.
    7·1 answer
  • A pointing device controls the movement of the ____.
    15·1 answer
  • A _____ is a climate-controlled building or set of buildings that houses database servers and the systems that deliver mission-c
    6·1 answer
  • A 10-foot ladder must make an angle of 30° with the ground if it is to reach a certain window. What angle must a 20-foot ladder
    9·2 answers
  • Amy just added a 462 meter run of fiber optic cable to the network what should she do next?
    10·1 answer
  • Once you have a listing of every unique combination of salesperson, product and location, what Excel function would you use to c
    14·1 answer
  • In photoshop what should you consider when determining a projects purpose and objectives?
    15·1 answer
  • In what Career Cluster you get to design, build, and destroy things
    6·1 answer
  • Class.object.method is an example of using the ______<br> to access the elements of a class.
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!