Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please use array and loop. Only stdio.h and math.h should be used at most for .h parts Create a script that will prompt the user

Please use array and loop.

Only stdio.h and math.h should be used at most for .h parts

image text in transcribed
Create a script that will prompt the user for inputs such as 1) Name, 2) Name of the store that he/she visited, 3) Number of books that the user purchased, 4) Cost of the individual book (Assume the price are the same), 5) Name of the County where he/she lives, 6) County's tax rate (Not in percentage but actual value. i.e. NOT 7% but 0.07. Then, based on the user input, your script should display a message that will include the User's name, Store's Name, Number of books, price of the book, County name, Tax rate, and the total cost. Please, use Cost = (Number of the book)*Price*(1+Tax_rate)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Quality Control And Improvement

Authors: Amitava Mitra

5th Edition

1119692334, 978-1119692331

More Books

Students also viewed these General Management questions