202k views
4 votes
Pendant Publishing edits multi-volume manuscripts for many authors. For each volume, they want a label that contains the author’s name, the title of the work, and a volume number in the form Volume 9 of 9. For example, a set of three volumes requires three labels: Volume 1 of 3, Volume 2 of 3, and Volume 3 of 3. Design a program that reads records that contain an author’s name, the title of the work, and the number of volumes. The application must read the records until eof is encountered and produce enough labels for each work. Pseudocode and flowchart required.

User RavenMan
by
5.5k points

1 Answer

7 votes

Answer:

The answer to this question can be described as follows:

Step-by-step explanation:

The Pseudocode to this question can be described as follows:

start \\ start process

Declaration of variable

Input_File records.txt

Output_File result.txt

string author_Name , title

int number_of_volume

open Input_File

open Output_File

input author_Name, title, number_of_volume from records.txt

while not eof \\ start loop and eof is end of file

output author_Name

output title

output number_of_volume

end while \\end loop

close records.txt \\close file

close results.txt \\close file

END \\end the code

Pendant Publishing edits multi-volume manuscripts for many authors. For each volume-example-1
User TheFrack
by
5.5k points