Question: Three strings are read from input and stored into list fruits. Then, three more strings are read from input and stored into list quality. Lastly,

Three strings are read from input and stored into list fruits. Then, three more strings are read from input and stored into list quality. Lastly, string separator_char is read from input. Output the following lines:
"Fruits", with a field width of 39, centered. Then "Quality", with a field width of 39, centered.
78 instances of separator_char.
fruits[0], with a field width of 39, centered. Then, quality[0] with a field width of 39, centered.
fruits[1], with a field width of 39, centered. Then, quality[1] with a field width of 39, centered.
fruits[2], with a field width of 39, centered. Then, quality[2] with a field width of 39, centered.
Click here for example

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!