Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

CLASS LkLkCISL

u51lON ON
8ank Charges A bank charges Gnz10 per month p|us the fo||ow|ng cheque fees for a
commerc|a| check|ng account

Gnz 010 each for |ess than 20 cheques
Gnz 008 each for 20 through 39 cheques
Gnz 006 each for 40 through S9 cheques
Gnz 004 each for 60 or more cheques

Create an app||cat|on that a||ows the user to enter the number of cheques wr|tten 1he
app||cat|on shou|d compute and d|sp|ay the bank's serv|ce fees for the month
Input va||dat|on Do not accept a negat|ve va|ue for the number of cheques wr|tten Use
the fo||ow|ng set of test data to determ|ne whether your app||cat|on |s ca|cu|at|ng
proper|y
Number of Checks 1ota| Iees
1S Gnz 11S0
2S Gnz 1200
4S Gnz 1270
7S Gnz 1300
u51lON 1wO
1he d|rector of market|ng at Lnesmay Who|esa|e products has approx|mated the
month|y sa|es () of h|s company's s|x reg|ons as the fo||ow|ng funct|on
64100 + 0394k + 962 11 600k
Where
k reg|ona| popu|at|on 2 percap|ta |ncome and k reg|ona| unemp|oyment rate
Deve|op a V8 app||cat|on to est|mate the company's month|y sa|es for any of |ts s|x
reg|ons
uesiqn requirements
O 1he app||cat|on shou|d |et the d|rector enter va|ues for k 2 and k It shou|d not
respond to negat|ve va|ues
O 1here shou|d be a button that the d|rector w||| c||ck to d|sp|ay month|y sa|es ()
O 1here shou|d be a reset button that w||| c|ear a|| |nputs and outputs
O Set the appropr|ate property to map the keyboard Lnter key to the D|sp|ay button
contro|

You might also like