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

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.
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. Those are due to the use of free formatting for print command. Output formatting will be covered
in the future lectures.
This program creates a discount chart for the store. HST+GST is accounted 13t.
You can copy-s-paste the chart from the screen to print and post.
You should provide the store price range, and most current CAD to USD exchange rate
If you are not ready yet press control+C to exit.
Enter the title (maximum 85 characters between quotations) of the discount chart.
"Store Discount Chart"
Please enter the minimum and maximum price tags in store using conma.
(Note: price-tags must end in .49 or .99, For example: 1.99,14.99)
0.99,14.99
Please enter the discount percentage (a value between 0 to 100)
Note do not use of symbol otherwise execution exits.
40
Please enter the most current CAD to USD exchange rate.
1.33
copy-&-paste the chart (provided between the dash-lines).
Store Discount Chart
Original Price Tag Before Tax Discounted Price After Tax
CAD
0.990000010
49000001
99000001
49000001
99000001
49000001
99000001
48999977
98999977
48999977
98999977
48999977
98999977
48999977
98999977
48999977
98999977
48999977
9.98999977
10.4899998
10.9899998
4899998
11.9899998
12.4899998
12.9899998
13.4899998
9899998
4899998
14.9899998
CAD USD
0.671220064,0.892722726
1.01022005,1.34359276
1.34922004,1.79446268
68822002,2.24533272
02722001,2.69620275
2.36622000,3.14707279
70521998,3.59794259
3.04421997,4.04881287
3.38321996,4.49968290
72221994,4.95055246
06122017,5.40142298
40021992,5.85229254
73922014,6.30316305
5.07821989,6.75403261
5.41722012,7.20490313
75622034,7.65577316
6.09521961,8.10664272
6.43421984,8.55751228
6.77321959,9.00838280
7.11221981,9.45925236
45122004,9.91012287
7.79021978,10.3609924
12922001,10.8118629
8.46821976,11.2627325
80721951,11.7136021
9.14622021,12.1644735
9.48521996,12.6153431
9.82421970,13.0662127
10.1632195,13.5170822
Please use matrixs
image text in transcribed

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

Logic In Databases International Workshop Lid 96 San Miniato Italy July 1 2 1996 Proceedings Lncs 1154

Authors: Dino Pedreschi ,Carlo Zaniolo

1st Edition

3540618147, 978-3540618140

More Books

Students also viewed these Databases questions

Question

What are some of the possible causes of a sales volume variance?

Answered: 1 week ago

Question

using signal flow graph

Answered: 1 week ago