Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question) You are asked to write a FORTRAN program making a discount promotion chart for a souvenir store in Niagara-on-the-Lake, Ontario. Your discount chart should

Question) You are asked to write a FORTRAN program making a discount promotion chart for a souvenir store in Niagara-on-the-Lake, Ontario. Your discount chart should have three columns. The first column lists the items' original price tag in CAD, and the second & third column provide the discounted prices after tax respectively in CAD and USD. All original price tags of the store are ended in .49 or .99. Your program should receive the maximum and minimum price tags, discount percentage (should be applied to original price tag), and CAD to USD exchange rate via keyboard entry. Hint: intrinsic functions abs and mod could be helpful. Look at the following sample run: by running your program, the following sentences, questions, and results should be printed accordingly on the screen (Green is keyboard entry). Extra spaces in your output are fine.

image text in transcribed

Note: Your program should be smart enough to: 1- Check whether the minimum and maximum price tags are valid. In case of a wrong entry program should ask for a correct entry repeatedly. see the provided example below for the error massages. 2- Check Whether the entered discount percentage is valid or not. In case of a wrong entry program should ask for a correct entry repeatedly. see the provided example below for the error massages. 3- Check Whether the entered exchange rate is valid or not. In case of a wrong entry program should ask for a correct entry repeatedly. see the provided example below for the error massages. 4- It is ok if the number of decimal places in your table is less/more than the provided sample results here

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

Accounting And Auditing Research And Databases Practitioner's Desk Reference

Authors: Thomas R. Weirich, Natalie Tatiana Churyk, Thomas C. Pearson

1st Edition

1118334426, 978-1118334423

More Books

Students also viewed these Databases questions

Question

Which industries are big users of decision automation systems?

Answered: 1 week ago

Question

Describe various competitive compensation policies.

Answered: 1 week ago

Question

Question Can employees make contributions to a profit sharing plan?

Answered: 1 week ago