Mr. Ram kishore the owner of …

CBSE, JEE, NEET, CUET
Question Bank, Mock Tests, Exam Papers
NCERT Solutions, Sample Papers, Notes, Videos
Posted by Somya Ji 6 years ago
- 2 answers
Gaurav Seth 6 years ago
(i) jTextField4.setText("0");
jTextField5.setText("0");
jTextField4.setEditable(false);
jTextField5.setEditable(false);
(ii) double discount = 0.0 ;
double billAmount = Double.
parseDouble(jTextField2.getText());
if(jRadioButton1.isSelected())
discount = 0.20;
if(jRadioButton2.isSelected())
discount = 0.15;
if(jRadioButton3.isSelected())
discount = 0.10;
jTertField3.setText(billAmount * discount + " ")
if (billAmount > 25000)
jTextField4.setText(billAmount * 0.05+ " ");
jButton2.setEnabled(true);
(iii) doube netAmount = Double.
parseDouble(jTextField2.getText()) - Double.
parseDouble(jTextField3.getText()) -Double.
parseDouble(jTextField4.getText());
jTextField5.setText(netAmount + " ");
Related Questions
Posted by Prapti Dubey 1 year, 5 months ago
- 0 answers
Posted by Martina Sangchoju 1 year, 8 months ago
- 2 answers
Posted by Yashika Kakkar 1 year, 5 months ago
- 1 answers
Posted by Arifa Meharun 1 year, 3 months ago
- 0 answers
Posted by Parth Chaudhary 1 year, 8 months ago
- 2 answers
Posted by Akib Chowdhury 1 year, 5 months ago
- 1 answers
Posted by Simran Batra 1 year, 4 months ago
- 0 answers
Posted by Siya Vishwakarma 1 year, 6 months ago
- 1 answers

myCBSEguide
Trusted by 1 Crore+ Students

Test Generator
Create papers online. It's FREE.

CUET Mock Tests
75,000+ questions to practice only on myCBSEguide app
myCBSEguide
Amit Mehta 6 years ago
0Thank You