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
8090 [49]
3 years ago
12

Question #3

Computers and Technology
1 answer:
Mnenie [13.5K]3 years ago
4 0

Answer: It can include string data.

It can include bool data.

It can include numeric data.

Explanation:

I’m on this assignment too :) Good luck & correct me if I’m wrong thank you!

You might be interested in
c++ Consider this data sequence: "3 11 5 5 5 2 4 6 6 7 3 -8". Any value that is the same as the immediately preceding value is c
Ksivusya [100]

<u>Answer:</u>

<em>int fNumber,scndNumber = -1,  </em>

<em>dup = 0; </em>

<em>do { </em>

<em>cin >> fNumber; </em>

<em>if ( scndNumber == -1) { </em>

<em>scndNumber = fNumber; </em>

<em>} </em>

<em>else { </em>

<em>if ( scndNumber == fNumber ) </em>

<em>duplicates++; </em>

<em>else </em>

<em>scndNumber = fNumber; </em>

<em>} </em>

<em>} while(fNumber > 0 );  </em>

<em>cout << dup; </em>

<u>Explanation:</u>

Here three variables are declared to hold the first number which is used obtain all the inputs given by the user, second number to hold the value of <em>last encountered number and “dup” variable to count the number of duplicate values.</em>

<em>“Do-while”</em> loop help us to get the input check whether it is same as previous input if yes then it <em>adds to the duplicate</em> value otherwise the new previous value if stored.

4 0
3 years ago
Read 2 more answers
What sound signal tells another boater that you wish to pass on your starboard (right) side?
kvasek [131]
Two shorts blasts should be the correct answer
5 0
3 years ago
Have a good christmas. this might not be homework, but i just want everyone to have a good week
topjm [15]

Answer:

You too hope you have a good rest of the week

Explanation:

3 0
3 years ago
Read 2 more answers
How much does a tech person get each year?
andreev551 [17]
It depends on the job.
3 0
3 years ago
Read 2 more answers
According to the computer science what isCD ROM is a ​
sesenic [268]
A CD-ROM (/ˌsiːdiːˈrɒm/, compact disc read-only memory) is a pre-pressed optical compact disc that contains data. Computers can read—but not write to or erase—CD-ROMs, i.e. it is a type of read-only memory.
Read mechanism: 600-780nm laser diode, 150 ...
Usage: Data storage
Capacity: 194 MiB (8 cm), 650–900 MiB (12 cm)

Hope this helps...
4 0
4 years ago
Other questions:
  • Do we have to use intersection?
    6·1 answer
  • What does carefully controlled research on cell phone conversations suggest about hands-free devices?
    7·1 answer
  • Maia notices that her paragraphs are too close to one another. She wants to increase the space. Which arrangement of steps does
    6·2 answers
  • As a digital forensics examiner, it’s a good idea to build a list of references for information on privacy laws in other countri
    13·1 answer
  • A program executes 100 billion instructions. It executes on an IBM processor that has an average CPI of 1.2 and a clock frequenc
    15·1 answer
  • ETC = 220,000 PV = 25,000 AC = 40,000. What is EAC? What does this calculation tell you?
    5·1 answer
  • A problem associated with old drivers is:
    8·1 answer
  • What does a codec do? Choose all that apply.
    5·2 answers
  • 3<br> Select the correct answer.<br> What is the output of the following HTML code?<br>Please
    8·2 answers
  • The CUBE extension enables you to get a subtotal for each column listed in the expression, in addition to a grand total for the
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!