create program on eclips java
A sample detail report would be:
Assignment Discussion Forum Detail Report
Owned by: David T Smith No Discussion: 3
Discussions
o or blank by ~. Blue on Thurs, Feb 16 at 08:30pm
---------------------------
When printing the time logs does it matter if we have a 0 or do you want a blank space in the overtime column?
Re: 0 or blank by D. Smith on Thurs, Feb 16 at 07:21pm
I will accept either printing 0 or printing a space when zero. Interesting question. How would I print space instead of O?
Re: Re: 0 or blank by B. Blue Thurs, Feb 16 at 09:21pm
To print a simple space or blank, just do a simple if statement to print one form or another.
Re: Re: 0 or blank by J. Green Thurs, Feb 16 at 09:22pm
Write a function to return 4 spaces when 0 or a String representation of the number using %4d
Problems with formatting. by C. Hope on Mon, Feb 12 at 01:52pm
I can't get normal hours to print. My code inside my print method: System. out .printf ("Normal Hours worked: %50d vn ? , timeLog.getNormalHours() ) ;
Re: Problems with formatting. by D. Smith on Mon, Feb 13 at 07:52am
Not sure what your problem is. The %50d looks odd. Should it be more like %5d? That is only 5 digits wide not 50.
Reminder - javadoc and formatting by D. Smith on Tues, Feb 7 at 04:59pm
Reminder, Make sure you have javadoc before the class declaration and before every public method. Make sure you Use good formatting.