Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing

Authors: David J. Auer David M. Kroenke

13th Edition

B01366W6DS, 978-0133058352

More Books

Students also viewed these Databases questions

Question

What is a niche market?

Answered: 1 week ago

Question

What do Dimensions represent in OLAP Cubes?

Answered: 1 week ago