Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~534 People Reached
Favorite Forums
Favorite Tags
java x 9
Member Avatar for iraqi4life

There is text file with information held on it, with average rainfall per month. 1914,50.9,87,115.8,32.3,47.1,56.6,97.1,63.9,48.1,62.4,110.3,190.8 1914 being the year and the average rainfall follow it. The year goes up to 2008. I created a enumeration which has Jan-Dec (months) And I need to create a class which will store the …

Member Avatar for iraqi4life
0
180
Member Avatar for iraqi4life

I have this bit of code: [CODE]case 1: case 3: case 5: case 7: case 8: case 10: case 12: day = 31;[/CODE] Does this mean the values 3,5,7,8,10,12 can only be day=31? How can I make it so only the Max value is 31? So it can equal 31 …

Member Avatar for Eric Cute
0
132
Member Avatar for iraqi4life

I'm calling to a method, from a method And I have this code: [CODE]public int ValidateInfo () { return this.day = 1; this.month = 1; this.year =1900; } [/CODE] However, on the 'Month' line, it is saying that I need to delete it, Why is this?

Member Avatar for Zhoot
0
76
Member Avatar for iraqi4life

Basically, I have a project which I need create a output format of DD/MM/YYYY - Which I used in a toString, it works fine. I then used a switch case for all the days in a month, and of course I took into consideration the leap year. When I try …

Member Avatar for islam-morad
0
98
Member Avatar for iraqi4life

Hello, I have a method that is returning a value of DD/MM/YYYY However, if the day if 5 or month is 7, it must have a 0 before it. So it would be, 05/07/YYYY, mine is 5/7/YYYY which isnt what I am looking for. Any help?

Member Avatar for peter_budo
0
48