program that initialises a vector with the following string values: “what” “book” “is” “that” “you” “are” “reading”.

Answers

Answer 1

A program that initializes a vector with the following string values: “what” “book” “is” “that” “you” “are” “reading” are the usage of namespace std;int main().

What is a vector software program?

Vector images software program permits customers to layout and manages pc photos the usage of geometric and mathematical commands, instead of clicks and strokes as utilized in drawing software program. Vector photos created the usage of those applications may be scaled indefinitely with out dropping quality.

#include #include #include the usage of namespace std;int main(); vector::iterator it; for (it = vs.begin(); it != vs.end(); it++) string tmp; while (cin.get()!='n') for (it = vs.begin(); it != vs.end(); it++) }

Read more about the vector :

https://brainly.com/question/25705666

#SPJ1


Related Questions

What is spy wear on a desk top computer

Answers

Answer:

Spyware is when a hacker gathers confidential information and data by logging the user's key presses (keylogging) etc and uses it for fraud or identity theft. That's also why touchscreens are safer than keyboards.

Explanation:

What are fields in a table? What are rows in a table? This is talking about Microsoft Word. What are fields and rows and what are they used for?

NEED ASAP

Answers

A  fields in a table is known to be a table that contains records (found in rows) and fields (that are found in columns). Fields have a lot of types of data, e.g. text, numbers, and others.

What are the rows in a table?

A table is known to be a kind of two-dimensional means that is known to have columns and rows.

Note that the columns are said to be fields and the rows are are said to be records.  A record fields  is said to be made up of a lot of data, like information about a specific employee or  product and others

Learn more about fields from

https://brainly.com/question/14789161

#SPJ1

Is computer doing more good than harm or more harm than good

Answers

Answer:

yes computer do more good also if we use safely if we don't use safely computer harm also

The layer of the ISO/OSI responsible for source to destination delivery.

Options:
(a) transport
(b) network
(c) data-link
(d) session ​

Answers

Answer:

(b) network

Explanation:

The Network Layer is the OSI Model's third layer. It is in charge of packet transport from source to destination or host to host across various networks. The layer receives data from the transport layer, adds a header to it, and sends it to the data link layer.

When does if(x!=y) execute?
A. when x doesn't equal y
B. when x does equal y
C. when x is greater than y

Answers

Answer:

A

Explanation:

What is wrong with this case statement -> case (x > 2):
A. cases can't have a test condition
B. cases must be capitalized
C. cases must use a ; and not a :

Answers

Answer:

A: cases can't have a test condition

Explanation:

Under the hood, switch statements don't exist. During the mid-stage of compilation, a part of the compiler will lower the code into something that is easier to bind. This means that switch statements become a bunch of if statements.

A case in a switch statement acts upon the switch value. Think of the case keyword as the value you pass into the switch header:

int x = 10;

switch (x)

{

case (x > 2):

     // Code

     break;

}

// Becomes

if (x(x > 2))

{

// Code

}

// Instead do:

switch (x)

{

case > 2:

     // Code

     break;

}

// Becomes

if (x > 2)

{

// Code

}

Which of the following is not a valid technique to create a function stub?

a.
Use a pass statement

b.
Raise NotImplementedError

c.
Print a "FIXME" message and return -1

d.
Leave the function body empty

Answers

An option which isn't a valid technique to create a function stub is to: D. leave the function body empty.

What is a function stub?

A function stub can be defined as a type of function that can be called safely without an error. However, a function stub has no definition because it doesn't actually perform any action when called.

In this context, leaving the function body empty is an option which isn't a valid technique to create a function stub.

Read more on function stub here: https://brainly.com/question/17214711

#SPJ1

(e) The entries in each column of the array A are sorted into strictly increasing order.

(f) The entries in any two consecutive columns of the array A are distinct.

(g) At least one of the entries in the array is divisible by 3 and has remainder 1 when divided by 5.

2. Decide whether each of the above statements is True or False. If False, provide an example to demonstrate why.

3. Describe how you decided the truth value of each statement. E.g., did you use any technology to assist you, did you work out any of the values, etc.?

Answers

The answer is 3 because

Q For each of the following words identify the byte that isstored at lower memory address and the byte that is stored athigher memory address in a little endian computer.
a. 1234
b. ABFC
c. B100
d. B800

Answers

C is the correct answer for this question

a transmitter is operating at 150 MHz with a power of 3 W into a one-quarter wavelength vertical antenna. The receiver, which is 32.2 km away, has an antenna with a gain of 8 dB. What is the received power?

Answers

The received power will be 1.243 nW

We're given:

frequency [tex]f[/tex] = 150MHz

distance of the receiver [tex]d[/tex] = 32.2 km=32200m

Power of transmitter [tex]P_{t}[/tex] = 3W

Antenna gain = 8dB

To find :

Power received [tex]P_{r}[/tex]

[tex]P_{r}= \frac{P_{t} *G_{t}*G_{r}* \lambda^2 }{16*\pi^2*d^2}[/tex]

where [tex]G_{t[/tex] is transmit gain and [tex]G_{r[/tex] is receive gain as refrenced to isotropic source

⇒wavelength [tex]\lambda = \frac{c}{f}[/tex] where c is the speed of the light

⇒  [tex]\lambda = \frac{3*10^8}{150*10^6} =2m[/tex]

[tex]G_{t}= 1*1.64[/tex] ( value of [tex]dipole[/tex] = 1.64)

Now,

Antenna gain[tex]=8dB[/tex] ( in decibals)

⇒[tex]10log(x)=8[/tex]

⇒[tex]x=10^0^.^8=6.3095[/tex]

⇒ considering isotropic receiver

⇒[tex]G_{r}=6.3095*1.64=10.3477[/tex] ([tex]dipole[/tex] =1.64)

Now , using the formula

[tex]P_{r}= \frac{3 *1.64*10.3477 *2^2 }{16*\pi^2*32200^2}=1.2437*10^-^9[/tex]

Hence The received power will be 1.243 nW

Leaen more about communication devices here:

https://brainly.com/question/14530107

#SPJ10

Can someone please tell me how to do this step by step?

ASAP

Answers

The steps that are required to customize elements of a Word document and its formatting to be consistent with other magazine articles are listed below.

How to customize elements and format a document?

In Microsoft Word 2019, the steps that are required to customize elements of a Word document and its formatting to be consistent with other magazine articles include the following:

You should apply a style set.You should change the color of an underline.You should use the Thesaurus.You should change the character spacing, change the font color and update a style.You should apply a character style.You should change the font case.You should insert a Quick Part.You should insert a table of contents.You should change the table of content (TOC) level.You should apply a style.You should update the table of contents.

In conclusion, the end user should update the table of contents as the last step, so as to reflect the change to his or her Word document.

Read more on Microsoft Word here: https://brainly.com/question/25813601

#SPJ1

Complete Question:

As the owner of On Board, a small business that provides orientation services to international students, you are writing an article about starting a business that will be published in an online magazine for recent college graduates. You need to customize elements of the document and its formatting to be consistent with other magazine articles. What are the steps?

If 294.00 units are made and demand is 287.00. Your fixed expenses are $1257.00. Your variable cost per unit is $2.25. Your Sales price is 6.49. The variable expenses for the day is?

Answers

If the  294.00 units are made and the cost per unit is $2.25 then variable expenses for the day is $661.5.

Given that 294.00 units are made and the variable cost per unit is $2.25

We have to find variable expenses for the day.

Total variable expenses for the day are a product of the output and the variable cost per unit.

So the variable expenses = no. of output x variable cost per unit

Variable expenses = 294 x 2.25

Variable expenses = 661.5

Hence the variable expenses for the day is $661.5

Learn more about variable expenses here: https://brainly.com/question/8225307

#SPJ10

Beth is a software developer who is focused on identifying early-stage interface problems. Beth addresses the dimension of usability known as __________.

Answers

The dimension of usability that is being addressed by Beth is known as efficiency.

The dimension of usability.

In Usability Engineering, there are five (5) qualities of a usable product suggested by Jakob Nielsen and these include the following:

LearnabilityMemorabilityEfficiencyErrors (low rate, easy to recover)Satisfaction

In this scenario, we can infer and logically deduce that the dimension of usability that is being addressed by Beth is known as efficiency because she's focused on identifying early-stage interface problems in software.

Read more on software here: brainly.com/question/26324021

#SPJ1

4.24 LAB: Exact change
Write a program with total change amount as an integer input, and output the change using the fewest coins, one coin type per line. The coin types are Dollars, Quarters, Dimes, Nickels, and Pennies. Use singular and plural coin names as appropriate, like 1 Penny vs. 2 Pennies.

Ex: If the input is:

0
or less than 0, the output is:

No change
Ex: If the input is:

45
the output is:

1 Quarter
2 Dimes

Answers

The Exact change program is an illustration of conditional statements;

Conditional statements are used to make decisions

The Exact change program

The Exact change program written in java programming language, where comments explain each action purposes

import java.util.*;

public class Money{

public static void main(String [] args){

Scanner input = new Scanner(System.in);

// Declare Variables

int amount, dollar, quarter, dime, nickel, penny;

// Prompt user for input

System.out.print("Amount: ");

amount = input.nextInt();

// Check if input is less than 1

if(amount<=0)  {

  System.out.print("No Change");  }

else  {

  // Convert amount to various coins

  dollar = amount/100;   amount = amount%100;

  quarter = amount/25;   amount = amount%25;

  dime = amount/10;   amount = amount%10;

  nickel = amount/5;   penny = amount%5;

  // Print results

  if(dollar>=1)    {

    if(dollar == 1) { System.out.print(dollar+" dollar\n");}

  else { System.out.print(dollar+" dollars\n"); }

}

if(quarter>=1){

if(quarter== 1){System.out.print(quarter+" quarter\n");}

else{System.out.print(quarter+" quarters\n");}

}

if(dime>=1){

if(dime == 1){System.out.print(dime+" dime\n");}

else{System.out.print(dime+" dimes\n");} }

if(nickel>=1){

if(nickel == 1){System.out.print(nickel+" nickel\n");}

else{System.out.print(nickel+" nickels\n");}}

if(penny>=1){

if(penny == 1) {System.out.print(penny+" penny\n");}

else { System.out.print(penny+" pennies\n"); }}}}}

Read more about conditional statements at:

https://brainly.com/question/11073037

#SPJ1

What is the result of the following code?
int x = 1;
switch(x)
{
case 1: printf( "Help" );
case 0: printf( "Me" );
break;
case 2: printf( "Hello World" );
}
A. HelpMe
B. Help
C. Help Me
D. Hello World

Answers

Answer:

B: Help

Explanation:

During the execution of this switch statement, it will print "Help" because that's the only case that matches the value of x, it will not print "Me" because that case does not match, so it will fall through that case into the break statement.

If x = 5 and y = 7, will statement if(x!=y) execute?
A. yes
B. no

Answers

A. yes

!= means not equal, so if you substitute, you get if(5 is not equal to 7), which renders True and executes

Trent is researching what it would take to become a pharmaceutical scientist. What academic requirements should he complete?
A.
an associate’s degree
B.
on-the-job training
C.
technical school
D.
a doctorate degree
E.
a bachelor’s de

Answers

Trent is researching and for Trent to become a pharmaceutical scientist, he needs to complete a doctorate degree. hence, Option D is the correct answer.

What degree is a doctorate?

A doctorate degree can be defined as the best-earned academic degree in U.S postsecondary education. Doctoral tiers usually take 4 or greater years to complete, and the number of credits required for completion can also additionally range relying on the program.

hence, Trent is researching and for Trent to become a pharmaceutical scientist, he needs to complete a doctorate degree.  Option D is the correct answer.

Learn more about doctorate degree:

https://brainly.com/question/21974838

#SPJ1

what will happen if I upgrade my asus crosshair v formula-z motherboard to a asus rog strix b450-f motherboard?

Answers

Answer: A lot will happen

Explanation:

If you will upgrade your laptop, that means it will get better in performance and a lot of other things....

Also, if the laptop has the word formula, you know that's a good thing, especially if it's z, which is the last letter in the alphabet.

And the other letters are something that I don't understand especially the Strix b450-f part..

Hope I helped a lotttt...

Create a scenario of a hypothetical company that needs an information system. This scenario should include the following information:
a) Size of the project
b) Staff/experts availability
c) System level of criticality
- Then explain the development methodology (waterfall, agile …etc.) would you choose in this case? Why?

Answers

A  hypothetical company that needs an information system is Memphis drilling and construction company.

What is the size of a project?

This is known to be the  the number of firms taking part in the project and thus in the case above, it is small project.

In terms of Staff/experts availability, there are experts from the mining industry with years of experience, soil survey analyst as well as other minor staff.

In terms of System level of criticality, it is big because the extent to drilling will make use of the information system and other major decisions made.

Learn more about  information system from

https://brainly.com/question/14688347

#SPJ1

You are advising the owner of Smalltown Computer, a new, local computer repair store that also builds custom computers to order. What competitive strategies could Smalltown Computer exert? Which ones will it have difficulty exercising?

Answers

Answer:

speech processing is the study of speech signals and processing access signal the signals are used process in a digital representation suspicious processing can be recognised as a special case of digital signal processing light to speed signal

show me how to create an argument essayshow me how to create an argument essay ​

Answers

Answer:

1 Introduce the problem.

2 Explain your perspective.

3 Explain your opponent's perspective. Refute their points one-by-one as you go.

4 Present your evidence.

5 Conclude your argument.

1 Introduce the problem.

2 Explain your opponent's perspective first. ...

3 Explain your perspective.

Explanation:

When does if(x==y) execute?
A. when x is equal to y
B. when x does not equal y
C. never, it is just a check to see if x is equal to y

Answers

Answer:

A. When x is equal to y

4. The volume of a sphere is (4.0/3.0)rr3 and the surface area is 4.0rr2, where r is the radius of
the sphere. Given the radius, design an algorithm that computes the volume and surface area of
the sphere. (You may assume that T-3.141592) (Exercise#17)

Answers

An algorithm that computes the volume and surface area of this sphere include:

Get the radius.Calculate the volume.Calculate the surface area.

What is an algorithm?

An algorithm is a standard formula which comprises a set of finite steps and instructions that must be executed in order to proffer solutions to a problem on a computer, under appropriate conditions.

For this exercise, an algorithm that computes the volume and surface area of this sphere is as follows:

Get the radius.Calculate the volume.Calculate the surface area.

Read more on algorithm here: brainly.com/question/24793921

$SPJ1

What is a group of two or more integrated hard disk called

Answers

Answer:

Redundant Array of Independent Disks known as RAID

Explanation:

what are differences between Ram and Rom?​

Answers

Answer:

RAM, which stands for random access memory, and ROM, which stands for read-only memory, are both present in your computer. RAM is volatile memory that temporarily stores the files you are working on. ROM is non-volatile memory that permanently stores instructions for your computer.

Explanation:

Answer:

RAM is random access memory - we can have it even after we shut down the computer. it is volatile .it stores temporarily.

ROM - Read only memory. it is non volatile memory. we can only have it until computer is turn on. after that it's gone.it stores memory permanently

What is CPU? List its major parts.​

Answers

Answer:

The central processing unit is the brain of the computer. it is the part of the computer which performs manipulations. it is also called the microprocessor.

components of the CPU: The control unit, the arithmetic and logic unit, the register and the memory unit.

I hope you understand:-):-)

changing the ___ sometimes can help you find a contact information more quickly​

Answers

Answer: View
(I really hope this helps?)

3. Write an algorithm to find Area of square?

Answers

A square is simply a rectangle with equal sides. As a result, the length and breadth of a square are equal. As a result, the area of a square is the product of two square sides, or in simpler terms, squares of the side.

Area = Side^{2}Area=Side

2

We use the following formula to compute the area of a rectangle after being given the length and width of the rectangle as input.

ALGORITHM:

Step 1 : Start

Step 2: Input Side

Step 3: Area = Side \times× Side

Step 4: Print area

Step 5: Stop

Review 03 diagnostic and troubleshooting skills including data gathering methods and techniques.

Answers

The kinds and ways to improve your diagnostic and troubleshooting skills are:

Be Relax and never panic when you encounter it.Know everything about your computer. Look for solutions and clues and state them down. Find out the repeatability.

What is diagnostic and troubleshooting?

Diagnosing is known to be the act of finding out the root cause of any issue through an act of elimination but troubleshooting is known to be the act of fixing of the problem after diagnosis is said to have been carried out.

Therefore, The kinds and ways to improve your diagnostic and troubleshooting skills are:

Be Relax and never panic when you encounter it.Know everything about your computer. Look for solutions and clues and state them down. Find out the repeatability.

Learn more about troubleshooting skills from

https://brainly.com/question/14983884

#SPJ1

When evaluating an OR operator, what is necessary for execution.
A. Only one condition can be true
B. One condition must be true
C. Both conditions must be true

Answers

Answer:

B

Explanation:

Other Questions
The process which RNA polymerase binding together with one or more general transcription factor called... inspiring younger brother to rise up early in the morning egarding transcriptional promoter sites, which of the following statements are true? Select one or more than one:a)They are located in the gene (DNA) whose information will be transcribedb)They are found at the 3 'end of the gene that will be transcribedc)Some of them are called 'TATA box'd)They are found in the DNA, 'upstream' of the gene to be transcribed.e)They are proteins of the cytoplasm Need help with number 27 asap Point T is at (16.8, 31.7) and point M is at (1.2, 12.5). Point M is the midpoint of the line segment whose endpoints are S and T. What are the coordinates of endpoint S? (34.8, 50.9) (7.8, 22.1) (19.2, 6.7) (20.4, 5.5) Which principle must a government follow in order to be considered ademocracy?OA. Laws must be created to reflect the dominant religious beliefs in asociety.B. Leaders must be selected by the citizens rather than inheritingpower.C. The government must have a written constitution that protectsindividual rights.D. Citizens must be able to vote directly on laws rather than relyingon representatives. How many calories are in abanana containing 410 kJ ofenergy?[? ] cal Heat is an example of____energy of matter, and temperature is the measure of this energy.Internal Potential Latent Kinetic you began with a 544 g sample In the last few decades the car manufacturing sector has found it difficult to compete with foreign car imports. High labor costs is one of the main reasons economist site as the lack of competitiveness for the car manufacturing industry. If there was modest inflation, how could it possibly help the car manufacturing industry in the United States compete with foreign car manufacturers What is the theme in thestory 'Two Friends"? The table below shows the earnings, in thousands of dollars, for three different commissioned employees.Who had the largest dollar amount in sales for the month of December?a.The salary plus commission employee.b.The straight commission employee.c.The graduated commission employee.d.They each had the same dollar amount in sales. Which excerpt from "Wiley, His Mother, and the Hairy Man" is part of the falling action of the story?"Yes, Mama," Wiley said. "I'll look out. I'll take my hound dogs everywhere I go."And [Wiley] hollered, "Fly, wood chips, fly! Go back in your same old place!""The baby's just there, in the bed," Wiley's mama said."Is that man gone, Mama?" he asked his good mama. Suppose the equilibrium wage for unskilled workers in New Jersey is $16 per hour. How will the wages and employment of unskilledworkers in New Jersey change if the state legislature raises the minimum wage from $8.85 per hour to $15 per hour?Wages of unskilled workers will increase/decrease/or not change? Employment of unskilled workers will increase/decrease/or not change? Please post detailed answers to the following questions. Please use complete sentences.Select two artists from the following list:Phil BorgesLee JeffriesStephanie SinclairJimmy NelsonUse the internet to find at least three images for each of the artists that you selected. In a word document, include the names of the two artists and the images you selected. Then answer the following questions about each photographer using complete sentences:What life events impacted this photographer?What is their personal style? How do you know?What is the photographers purpose for taking the images you selected?How are the two artists that you selected differently? How are they similar? you can't get goods _______ credit from that shopA atB onC forD by Read the excerpt from "How I Learned English.I played on till duskMissing flies and pop-ups and groundersAnd calling out in desperation things like"Yours and "take it, but doing all right,Tugging at my cap in just the right way,Crouching low, my feet set."Hum baby sweetly on my lips.The reader can tell that this excerpt is part of the poems resolution, because the speakerfinally feels a sense of belonging.finally learns how to play baseball.no longer wants to get home before dusk.no longer tries to catch the ball. Angela has a bucket of mass 2 kg tied to a string. She places a drinking glass of mass 0.5 kg in the bucket. She spins the bucket in a vertical circle of radius 1.5 m. You want to find out how fast she must swing the bucket to keep the glass from falling out.a. Draw the free-body diagram for the glass when it is at the top of the circle.b. What is the equation for the net force on the glass at the top of the circle in terms of w, FN, m, v, and r?c. The glass will fall out of the bucket if the normal force between the glass and bucket equals zero. How fast must she spin the bucket to prevent this from happening?d. The string will break if the tension on it is more than 100 N. Over what range of speeds can she keep the glass in the bucket and prevent the string from breaking? Which if the following rules best describes the matrix below?a.dilation of scale factor 2c. reflection over the line y = xb. reflection over the y-axisd. translation 1 unit left and 1 unit up ______ was the first European explorer to locate and name New Zealand, but violent contact with the ______ delayed colonization.