Shopping Account : | |||||||||||||||||
Cart Type |
|
||||||||||||||||
Discount Amount : | |||||||||||||||||
Net Amount : | |||||||||||||||||
(1) Write the command for Discount button to compute discount amount and net amount. (2) Write the code for cmdClear command button to clear all the text boxes and set the default choice in the radio button as SBI. (3) Write the code for Exit button to close the application. | |||||||||||||||||
|
|
||||||||||||
|
||||||||||||
|
||||||||||||
|
|
||||||||
if the bill amount is more than 15000 then the customer gets an additonal discount of 10% on Bill amount. | ||||||||
|
|
||||||||
The criteria for calculation of delivery and handling charges is as given below:-
|
||||||||
|
Q.1 A programmer is required to develop a student record. The school offers two different streams, medical and non-medical with different grading criteria. The following is the data entry screen used to calculate percentage and grade
(2) Write the code for the cmdClear button to clear all the tex fields.
(3) Write the code for the cmdCalcPerc button to calculate the percentage to display in text filed txtPercentage,after finding the total marks of first term and second term(assuming that both marks are out of 100)
(4) Write the code for the cmdCalcGrade button to calculate the grade to display in text fled txtGrade, depending on the stream selected according to the criteria in the following table.