Author Question: What will the following code display?cout (Read 54 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?

The longest a person has survived after a heart transplant is 24 years.

Did you know?

Only 12 hours after an egg cell is fertilized by a sperm cell, the egg cell starts to divide. As it continues to divide, it moves along the fallopian tube toward the uterus at about 1 inch per day.

Did you know?

More than 30% of American adults, and about 12% of children utilize health care approaches that were developed outside of conventional medicine.

Did you know?

Eat fiber! A diet high in fiber can help lower cholesterol levels by as much as 10%.

Did you know?

If you could remove all of your skin, it would weigh up to 5 pounds.

For a complete list of videos, visit our video library