Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

You are running a book store. Your store contains books in 5 subjects and each s

ID: 3657986 • Letter: Y

Question

You are running a book store. Your store contains books in 5 subjects and each subject contains 3 books. Write a program that will print the subject of texts, cost of texts and total cost across and down. Also print the name and value of the cheapest text. In the last program you actually read and wrote the information 5 times, this time read and write it only once using a loop. Create a function to print your information. Pass 7 parameters to the function to print your information. Put your input in a file and print the output. A sample of the output is shown below.

https://media.cheggcdn.com/media/753/7530c5cf-6ce2-4d61-954d-9da7244a1789/php4s53Rm.png


Explanation / Answer

Here is the answer to your question. Please rate! void main(){ char Subject[5][20]; float cost[5] = {0.0}; for(int i=0;i
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote