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.
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 hereStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started