java + output screen + coding

I need a layout screen for output using system.out.println

the criteria consist of.
current date, SSN Number
Employee name
Blank
Enter the number of IN/OuT
Blank
Enter the in and out times
blank
Enter y or n if there is any sick times used
blank
Display total hours worked
display total regular pay
display any overtime pay
blank
total pay
total hours worhed
gambit77Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

DrWarezzCommented:
Could you please specify the variables that need to be placed here???

[r.D]
0
DrWarezzCommented:
>"
Display total hours worked
display total regular pay
display any overtime pay
"

what are the formulas for this, etc..?
0
lcwidingCommented:
Not quite sure what you mean by "layout screen". If you mean the code to present the information as suggested, to System.out, it would be as follows:

System.out.println(currentDate  +" ," + SSNNumber);
System.out.println(employeeName);
System.out.println();
...

What are you looking for when you talk about "Enter the ..."? Do you also want code to read input and parse it? Why not use a dialog to input any needed values?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

CEHJCommented:
This sounds like homework/classwork ...
0
objectsCommented:
To display a prompt use:

System.out.print("Employee name: ");

To get input from the user use:

BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
String input = in.readLine();

To output a line use:

int hours = 40;
System.out.println("Hours worked: "+hours);


That should get you started.
Let me know of you have any questions.
0
lcwidingCommented:
I woudl recommend splitting between me and objects.
0
DrWarezzCommented:
No disagreement from me.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.