Question: Please help me figure out to solve the problem in the first picture. In the second picture I have set up the function and its

 Please help me figure out to solve the problem in thefirst picture. In the second picture I have set up the functionand its parameters. In the last image is a test file for

Please help me figure out to solve the problem in the first picture. In the second picture I have set up the function and its parameters. In the last image is a test file for the problem. C++

bookPageEntry creates a page entry for a book with given title and given author. The entry is a single string of length 70, with the name of the book left justified and the author's name right justified. Between are dots separated by single spaces; none of the dots should be immediately adjacent to either the title or the author. If an extra space is needed to make the width add up to 70, it should be immediately before the author's name (making a double space in that spot). #include 3 using namespace std; string bookPageEntry(string title, string author){ #include "labfunctions.h" test suite bookPageEntry { tests: test simple { check (bookPageEntry("The Chamber", "The Chamber. } } "John Grisham")) expect == John Grisham

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!