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 5 years, 1 month ago
- 2 answers
Gaurav Seth 5 years, 1 month 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 Parth Chaudhary 9 months, 1 week ago
- 2 answers
Posted by Honey Hanisha 9 months, 3 weeks ago
- 0 answers
Posted by Arifa Meharun 4 months ago
- 0 answers
Posted by Siya Vishwakarma 7 months, 2 weeks ago
- 1 answers
Posted by Akib Chowdhury 5 months, 4 weeks ago
- 1 answers
Posted by Yashika Kakkar 6 months, 2 weeks ago
- 1 answers
Posted by Simran Batra 5 months ago
- 0 answers
Posted by Martina Sangchoju 9 months, 3 weeks ago
- 2 answers
Posted by Prapti Dubey 6 months ago
- 0 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
Amit Mehta 5 years, 1 month ago
0Thank You