Author Question: What will the following code display?cout (Read 53 times)

ishan

  • Hero Member
  • *****
  • Posts: 546
What will the following code display?
cout << "Four\n" << "score\n";
cout << "and" << "\nseven";
cout << "\nyears" << " ago" << endl;

Four score and seven
years ago

Four
score
and seven
years ago

Four score
and seven
years ago

Four
score
and
seven
years ago


apple

  • Sr. Member
  • ****
  • Posts: 352
Reply #1 on: May 22, 2019
Four
score
and
seven
years ago



Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question

ishan

  • Hero Member
  • *****
  • Posts: 546
Reply #2 on: May 22, 2019
Thank you!



apple

  • Sr. Member
  • ****
  • Posts: 352
Reply #3 on: May 22, 2019
Always glad to help...



 

Did you know?

In 2006, a generic antinausea drug named ondansetron was approved. It is used to stop nausea and vomiting associated with surgery, chemotherapy, and radiation therapy.

Did you know?

Drug abusers experience the following scenario: The pleasure given by their drug (or drugs) of choice is so strong that it is difficult to eradicate even after years of staying away from the substances involved. Certain triggers may cause a drug abuser to relapse. Research shows that long-term drug abuse results in significant changes in brain function that persist long after an individual stops using drugs. It is most important to realize that the same is true of not just illegal substances but alcohol and tobacco as well.

Did you know?

A recent study has found that following a diet rich in berries may slow down the aging process of the brain. This diet apparently helps to keep dopamine levels much higher than are seen in normal individuals who do not eat berries as a regular part of their diet as they enter their later years.

Did you know?

Cocaine was isolated in 1860 and first used as a local anesthetic in 1884. Its first clinical use was by Sigmund Freud to wean a patient from morphine addiction. The fictional character Sherlock Holmes was supposed to be addicted to cocaine by injection.

Did you know?

The horizontal fraction bar was introduced by the Arabs.

For a complete list of videos, visit our video library