You are running a book store. Your store contains books in 5 subjects and each s
ID: 3660156 • 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. Put your input in a file and print the output. A sample of the output is shown below. The rubric is attached. Name of your store: Subject Text 1 Text2 Text3 Total Biology $***.** $***.** $***.** $***.** Chemistry $***.** $***.** $***.** $***.** English $***.** $***.** $***.** $***.** Computer $***.** $***.** $***.** $***.** Mathematics $***.** $***.** $***.** $***.** Total $***.** $***.** $***.** $***.** The input must be from a file and the answers must be displayed as shown, Please, test it before submit, thanks!Explanation / Answer
I have your answer. Please rate! void main(){ char Subject[5][20]; float cost[5] = {0.0}; for(int i=0;iRelated Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.