Question: 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.

Question) You are asked to write a FORTRAN program making a discount

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

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!