Question: ASSIGNMENT INFORMATION Points Possible 100 A Get String using OptionPane.showinputDialog and store it in a String variable called firstName Get String using JOptionPane.showinput Dialog and
ASSIGNMENT INFORMATION Points Possible 100 A Get String using OptionPane.showinputDialog and store it in a String variable called firstName Get String using JOptionPane.showinput Dialog and store it in a String variable called lastName Get String using OptionPane.showinput Dialog and store it in a double variable called Salary Get String using OptionPane.showinputbalog and store it in a int variable called streetNum Get String using OptionPane.showinput Dialog and store it in a String variable called streetAddress Get String using JOptionPane.showinqutdialog and store it in a String variable called City Get String using JOptionPane.showinputDialog and store it in a string variable called State Get String using JOptionPane.showinput Dialog and store it in a int variable called zip Code Get String using OptionPane.showinputDialog and store it in a char variable called Gender Calculate the salary using the formula Salary Salary1.5 Print the below outputs using the variables above and init Output 1 My name is Herman Smith. I live at 222 Main St Houston, TX 77002. My gender is M. My salary is $2250.0 Output 2 Name: Herman Smith Address: 222 Main St. Houston, TX 77002 Gender: M Herman Smith salary is $2250.0 When finished, make sure to chok Submit Optionally, click Save as Draft to save changes and continue working later, or click Cancel to quit without saving cho 11 E ViewSonic
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
