1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Ivanshal [37]
3 years ago
12

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.

Computers and Technology
1 answer:
tigry1 [53]3 years ago
8 0

Answer:

The answer to this question can be described as follows:

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

You might be interested in
How to combine multiple documents into one pdf.
sergeinik [125]

Answer:

How to combine and merge your files into one PDF: Open Acrobat DC to combine files: Open the Tools tab and select "Combine files." Add files: Click "Add Files" and select the files you want to include in your PDF. You can merge PDFs or a mix of PDF documents and other files.

Explanation:

8 0
3 years ago
Why does the phrase "compatibility mode” appear when opening a workbook?
nlexa [21]

Answer: 2. A version older than Excel 2016 was used to create the workbook .

Explanation: The compatibility mode appears whenever a workbook initially prepared using an excel software version which is older than the excel software which is used in opening the file or workbook. The compatibility mode is displayed due to the difference in software version where the original version used in preparing the workbook is older than the version used in opening the workbook. With compatibility mode displayed, new features won't be applied on the document.

7 0
3 years ago
Read 2 more answers
Write a program to print the value of a series of numbers from0-9 in descending order
steposvetlana [31]
This is the simplest way obviously this is ascending

print ("0")
print ("1")
print ("2")
print ("3")
print ("4")
print ("5")
print ("6")
print ("7")
print ("8")
print ("9")
6 0
3 years ago
What year is the singularity expected to occur?
Nataly [62]
It will occur in 2045
5 0
3 years ago
Read 2 more answers
Write a function `has_more_zs` to determine which of two strings contains # more instances of the letter "z". It should take as
nekit [7.7K]

Answer:

// Method's name: has_more_zs

// Parameters are text1 and text2 to hold the two phrases to be tested

public static String has_more_zs(String text1, String text2) {

 // Create and initialize z1 to zero

 // Use z1 to count the number of zs in text1

 int z1 = 0;

 // Create and initialize z2 to zero

 // Use z2 to count the number of zs in text2

 int z2 = 0;

 

 //Create a loop to cycle through the characters in text1

 //Increment z1 by one if the current character is a 'z'

 int i = 0;

 while (i < text1.length()) {

  if (text1.charAt(i) == 'z' || text1.charAt(i) == 'Z') {

   z1 += 1;

  }

  i++;

 }

 //Create a loop to cycle through the characters in text2

 //Increment z2 by one if the current character is a 'z'

 

 i = 0; //Re-initialize i to zero

 

 while (i < text2.length()) {

  if (text2.charAt(i) == 'z' || text2.charAt(i) == 'Z') {

   z2 += 1;

  }

  i++;

 }

 

 

 //Using the values of z1 and z2, return the necessary statements

 if (z1 > z2) {

  return "The phrase '" + text1 + "'" + " has more occurences of z than the phrase " + "'" + text2 + "'";

 }

 else if (z1 < z1) {

  return "The phrase '" + text2 + "'" + " has more occurences of z than the phrase " + "'" + text1 + "'";

 }

 else if (z1 == z2) {

  return "The strings have the same number of z";

 }

 else {

  return "Neither string contains the the letter z";

 }

}

Explanation:

Explanation to answer has been given in the code as comments. Please refer to the comments for the details of the code.

The source code file has been attached to this response and saved as "NumberOfZs.java"

Hope this helps!

Download java
5 0
3 years ago
Other questions:
  • ______ is a process that marks the location of tracks and sectors on a disk.
    6·1 answer
  • For Official Use Only (FOUO) and Controlled Unclassified Information (CUI) may include all of the following except: (circle one)
    10·1 answer
  • In the output at the command line from a router that reads - ip ospf message-digest-key 1 md5 CISCO-123 - what does the CISCO-12
    15·1 answer
  • "When an interrupt or a system call transfers control to the operating system, a kernel stack area separate from the stack of th
    11·1 answer
  • Which of the following statements are not true about TCP? (Multiple answers)
    6·1 answer
  • Proofreaders' marks are:
    6·1 answer
  • What is the uniquely identifiable element about which data can be categorized in an entity-relationship diagram?
    6·1 answer
  • What do you mean by algorithm​
    9·2 answers
  • The _____________ RTN describes the overall effectof instructions on the programmer visible registers
    9·1 answer
  • What is the output of the below Java program?
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!