Pseudocode for Printing Book

Feb 3rd, 2012
Studypool Tutor
Price: $10 USD

Tutor description

Create a program that prints a book. The book consists of the following components:  A title and author  Three chapters o Each chapter consists of:  A title  Text – you decide the text per chapter. Keep each chapter short (just a few lines of text per chapter are sufficient – for example 3 lines of text per chapter). The text is written in a professional style. Program Requirements:  The user of the program is allowed to specify how many copies of the book should be printed (e.g., 0, 1, 6, or 10, etc).  The prompt for data input is user-friendly (i.e., the user of the program does not see the program’s variable names).  Each chapter starts with a new line number (e.g., Line Number: 1 for Chapter 1, Line Number: 2 for Chapter 2 … etc). The line number is displayed first, then the chapter itself. Hint for keeping track of the line number: Given that for every copy of the book, each chapter starts with its corresponding line number (1, 2 … etc.), the program can define a var

Word Count: 305
Showing Page: 1/2
procedure book_printingvariable copies as intinput "How many copies of the book should be printed: " in copiesfor int k=1 until k=copies loopoutput "***************** Printing "& k &"th time *****************"call print_book(k)output "*******************************************************"endendprocedure print_book(int:k)variable title as String = "A Guide to Working With Visual Logic, 1st Edition"variable author as string = "Crews, Thad"output title & " by " & authorcall print_chapter_1call print_chapter_2call print_chapter_3

Review from student

Studypool Student
" Super fast turn around time. Very impressed and will use Studypool again if I need a quick job. Communication was a bit tough but not unbearable. "
Ask your homework questions. Receive quality answers!

Type your question here (or upload an image)

1828 tutors are online

Brown University

1271 Tutors

California Institute of Technology

2131 Tutors

Carnegie Mellon University

982 Tutors

Columbia University

1256 Tutors

Dartmouth University

2113 Tutors

Emory University

2279 Tutors

Harvard University

599 Tutors

Massachusetts Institute of Technology

2319 Tutors

New York University

1645 Tutors

Notre Dam University

1911 Tutors

Oklahoma University

2122 Tutors

Pennsylvania State University

932 Tutors

Princeton University

1211 Tutors

Stanford University

983 Tutors

University of California

1282 Tutors

Oxford University

123 Tutors

Yale University

2325 Tutors