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
Alchen [17]
3 years ago
5

Where to store ammunition

Computers and Technology
1 answer:
belka [17]3 years ago
6 0
In gun shops of course. and in basements
You might be interested in
Write a program segment with a do-while loop that displays whether a user-entered integer is even or odd. The code should then a
Leya [2.2K]

Answer:

Following is the program in C++ program

#include<iostream> // header file

using namespace std; // namespace  

int main() // main function  

{

int num1 = 0; // variable declaration  

char test;// variable declaration  

do

{

cout << " Enter the number: ";

cin >> num1; //Read the input by the user  

if (num1 % 2 == 0) // check the condition of even

cout << " number is even.\n";

else // check the condition of odd

cout << "Number is odd.\n";

cout << " Do you wanted the another test of number (y/n)? ";

cin >> test; //Read the input by user

} while (test == 'y' || test == 'Y'); //terating the loop

return 0;    

}

Output:

Enter the number:45

number is even.

Do you wanted the another test of number (y/n) Y

Enter the number:5

Number is odd.

Do you wanted the another test of number (y/n) n

Explanation:

Following are the description of program

  • Declared a variable "num1" as integer type and initialized as 0 to them
  • Declared a variable "test" as char type .
  • After that iterating the do -while loop .Read the value by the user in the "num1" variable .
  • Check the condition of even and odd by using % operator .
  • Read the value of test by the user .If the user enter Y or y then loop again executing otherwise not .
5 0
3 years ago
What could be a pass word if the hint is stayton its for windows 10 <br><br> please help
Alina [70]
Stayton is a city in Oregon, so maybe something to do with that?? I’m sorry I have no clue
8 0
3 years ago
1. The component that displays output
Dmitrij [34]

1. The component that displays output

Output device

It is a hardware device which presents the information from inside the computer in a human readable format. The output is displayed on both a visual device like monitor and printers, or on a graphical device like plotter.

Types of monitors include monochrome and colored.

Monochrome monitor use only two colors – one for the screen ( also referred to as background ) and other for the information being displayed ( also referred to as foreground ).

Colored monitors display data using combination of three colors - red, green, and blue. This monitor utilizes red, blue and green phosphors which are placed adjacent to each other.

2. The component that processes data

CPU

The central processing unit or CPU is responsible for processing of the data. The computer program instructs the CPU to perform a given task. It consists of three parts – arithmetic unit to process mathematical computations; control unit to interpret the program instructions; and the instruction decoding unit which converts programs into machine instructions.

3. The component that is used to enter text !

keyboard

Input device is a hardware device which is used by humans to enter data in the computer.

Types of input devices are keyboard, mouse, scanner, joystick and the like.

Humans can interact with computers through the keyboard. It provides the only entry for text input.

Earlier keyboard consist of buttons for alphabets and numerals and special character. Modern keyboards consist of more buttons for shortcut to email. Also, buttons also serve dual purpose of a special key and control volume level when used in combination with other shift key.

4. The component you use to point to items on the screen

mouse

Another input device which is used as pointing device is the mouse.

Mouse is used to point to the screen. Earlier, mouse was connected through a wire to the computer. Modern mouse are non-wired with automatic connection.

8 0
3 years ago
Read two numbers from user input. Then, print the sum of those numbers. Hint - Copy/paste the following code, then just type cod
Dmitriy789 [7]

Answer:

The full program is:

<em>num1 = int(input()) </em>

<em>num2 = int(input()) </em>

<em>print(num1 + num2)</em>

<em />

Explanation:

Given

<em>num1 = int(input()) </em>

<em>num2 = ?</em>

<em>print(num1 + ?)</em>

<em />

Required

Replace ? with the right codes

Line 1: The syntax is correct

Line 2: The ? should be replaced with an integer input function to get input for num2.

So, the second line would be: <em>num2 = int(input()) </em>

Line 3: The ? should be replaced with num2 in order to calculate and print the required sum.

So, the third line would be: <em>print(num1 + num2)</em>

<em />

8 0
3 years ago
What rule should be followed when determining how many bullets you will include on a slide
stiks02 [169]
They answer to your problem is C
8 0
4 years ago
Read 2 more answers
Other questions:
  • matlab Write a function that iteratively appends random 1's and 0's to an array to form a binary number. The function returns th
    9·1 answer
  • Each peripheral device has its own software, called a(n) ____, which contains the detailed instructions required to start that d
    6·1 answer
  • Whats the relationship between cpu memory and disk​
    10·1 answer
  • What type of USB connector is always plugged into the computer to connect in external device
    14·1 answer
  • Which phrase best defines communication​
    9·1 answer
  • The process of sending ping requests to a series of devices or to the entire range of networked devices is called a:
    9·1 answer
  • Suppose that for an experimental device setup we have to choose settings for three parameters. There are 4, 3 and 5 settings for
    11·1 answer
  • Write the definition of a function half which recieves a variable containing an integer as a parameter, and returns another vari
    15·1 answer
  • Why is information broken down into packets
    15·1 answer
  • When it comes to game mechanics, what is the most universal mechanic that is present in virtually every computer game that you c
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!