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
ipn [44]
3 years ago
14

Write statements that output variable numComputers as follows. End with a newline

Computers and Technology
1 answer:
gavmur [86]3 years ago
8 0

Complete Question:

Write statements that output variable numComputers as follows. End with a newline. There are 10 computers.

#include <iostream>

using namespace std;

int main()

{

int numComputers;

cin >> numComputers; // Program will be tested with values: 10.

...

return 0;

}

Answer:

cout << "There are ";

cout << numComputers;

cout << " computers." << "\n";

Explanation:

Using three cout statements the string "There are 10 computers." is printed out, notice that the variable numComputers is entered by the user when the program is run. Another way of concatenating an integer variable and string for printout is by the use of the + (plus) operator.

You might be interested in
A(n) _____ is any computer that provides services and connections to other computers on a network.
Lera25 [3.4K]
Server or motherboard
3 0
3 years ago
Abdhbhbhsbfhsbhcvdhcbsdbhsvhgvhdsgvfhsgdvfhgdsvghcghvc
Orlov [11]

Answer:

thats what i like daddy

ohhhh

Explanation:

6 0
4 years ago
Read 2 more answers
Sarah is a busy real estate agent with a growing clientele. She is looking to purchase a new computer and software so that she c
Lina20 [59]

Answer:

USB flash drive is the storage device that is used by Sarah.

Explanation:

A USB flash drive is the device in which the data is stored, it is the portable storage device which is used to store important data and files and it is also used for data backup, run a diagnostics to troubleshoot the computer problems or also for launch the OS(operating system) from the bootable USB.

The first USB flash drive came in the market in the year 2000 with the 8 MB(megabytes) of the storage capacity.

7 0
4 years ago
Amanda has a completed photo shoot of a movie star in once the photographs To appear larger than life she feels that using a moa
faust18 [17]

The answer would be <u>bleed</u> mounting, bleed mounting doesn't have a border

6 0
4 years ago
WILL GIVE BRAINLIEST!!!!!!!
Irina18 [472]

Answer:   Cleanliness

Explanation:

Well you need that because if they are not clean you can get really sick and maybe die.

8 0
3 years ago
Other questions:
  • 2.Write an if /else if statement that carries out the following logic. If the value of variable quantityOnHand is equal to 0, di
    8·1 answer
  • This device transmits data to all the workstations on a network. gateway hub router switch
    11·2 answers
  • Who defined the term crowdsourcing in a Wired magazine article?
    15·1 answer
  • In csma/ca, the amount of time a device is made to wait before it can transmit is called the ____.
    15·1 answer
  • Wat is a computer risk<br>​
    7·2 answers
  • The following is the pseudocode for which type of algorithm? For start = each array subscript, from the first to the next-to-las
    6·1 answer
  • What technology standard is commonly used today for hard drives?
    13·1 answer
  • What symbol indicates that a cell is not wide enough to display its numbers ?
    8·2 answers
  • 2.11 (Separating the Digits in an Integer) Write a script that inputs a five-digit integer from the user. Separate the number in
    12·1 answer
  • ____ is an example of a set of prewritten classes that allows you to access data stored in a database.
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!