Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

<p>Create a GUI application that calculates the registration fees for a conferen

ID: 3622317 • Letter: #

Question

<p>Create a GUI application that calculates the registration fees for a conference. The general conference registration fee is $895 per person, and student registration is $495 per person. There is also an optional opening night dinner with a keynote speech for $30 per person. In addition, the optional preconference workshops listed below.</p>
<p>&#160;</p>
<p><strong>WorkShops/Price</strong></p>
<p><strong>Introduction to E-Commerce/$295</strong></p>
<p><strong>The Future of the Web/$295</strong></p>
<p><strong>Advance Java Programming/$395</strong></p>
<p><strong>Network Security/$395</strong></p>
<p>This Application should allow the user to select the registration type, the optional opening night dinner and keynote speech, and as many preconference workshops as desired. The total cost should be displayed.</p>

Explanation / Answer

import java.util.*; import javax.swing.JOptionPane; import java.lang.*; public class Registration { public static void main(String [] args) { double cost,totalcost; int choose; String Input; String Input1; choose=0; while(choose4) { Input = JOptionPane.showInputDialog(null,"Select registration type : 1. General registration 2. Student registration 3. General registration with night dinner and keynote speech 4. student registration with night dinner and keynote speech "); choose=Integer.parseInt(Input); } if(choose == 1) { cost=895; } else if(choose == 2) { cost=495; } else if(choose == 3) { cost=925; } else cost=525; JOptionPane.showMessageDialog(null,"Your registration fee is : $" + cost); choose=0; while(choose < 1||choose > 4) { Input1 = JOptionPane.showInputDialog(null,"Select Optional preconference workshop 1. Introduction to E-commerce 2. The Future of the Web 3. Advanced Java Programming 4. Network Security "); choose=Integer.parseInt(Input1); } if(choose == 1) { totalcost=(295+cost); } else if(choose == 2) { totalcost=(295+ cost); } else if(choose == 3) { totalcost=(395+ cost); } else totalcost=(395+ cost); JOptionPane.showMessageDialog(null,"Your total registration fees is : $"+ totalcost ); } } I hope this will helps to You !
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote