Mystic Journey
[New messages · Members · Forum rules · Search · RSS ]
  • Page 1 of 1
  • 1
Forum moderator: Secxs  
Calendar
SurgeonDate: Sunday, 2008-03-09, 11:34 AM | Message # 1
Lesser Elemental
Group: Moderators
Messages: 24
Reputation: 0
Status: Offline
Code
public class Calender {

        public static void main(String[] args) throws InterruptedException {

               byte[] numbers = new byte[] {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12};
               int[] months = new int[] {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12};
               byte[] days = new byte[] {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
               String[] names = new String[]{"January", "February", "March", "April", "May", "June", "July",
               "August", "September", "October", "November", "December"};
               String season;

               for(int f = 0; f < 12; f++)
                      System.out.println("Month #"+numbers[f]+" is "+names[f]+" and has "+days[f]+" days in it");
     if(months = 12, months = 1, months = 2)
     season = "Winter";
     else if(months = 3, months = 4, months = 5)
     season = "Spring";
      System.out.println(names+" is in the season "+months);
        }
}




Message edited by Surgeon - Sunday, 2008-03-09, 11:37 AM
 
MaliseDate: Wednesday, 2008-03-12, 11:00 AM | Message # 2
Toad Warrior
Group: Administrators
Messages: 195
Reputation: 0
Status: Offline
Random. What's this for?

 
LordofLightDate: Wednesday, 2008-03-12, 11:21 AM | Message # 3
Kitty
Group: Members
Messages: 55
Reputation: 0
Status: Offline
probably a calender for games, or websites?

Thanks Mally Fow the Awesome Siggy ^_^

 
MaliseDate: Wednesday, 2008-03-12, 11:22 AM | Message # 4
Toad Warrior
Group: Administrators
Messages: 195
Reputation: 0
Status: Offline
Yeah. But it still seems random. o.O

 
LordofLightDate: Wednesday, 2008-03-12, 11:43 AM | Message # 5
Kitty
Group: Members
Messages: 55
Reputation: 0
Status: Offline
Lol, True, not alot of people care about having calenders XD

Thanks Mally Fow the Awesome Siggy ^_^

 
MaliseDate: Wednesday, 2008-03-12, 11:49 AM | Message # 6
Toad Warrior
Group: Administrators
Messages: 195
Reputation: 0
Status: Offline
I have one for News Updates :P

Makes it glowy when I add one biggrin


 
SurgeonDate: Wednesday, 2008-03-12, 4:25 PM | Message # 7
Lesser Elemental
Group: Moderators
Messages: 24
Reputation: 0
Status: Offline
This is a basic java program showing how strings, work

 
MaliseDate: Thursday, 2008-03-13, 6:21 AM | Message # 8
Toad Warrior
Group: Administrators
Messages: 195
Reputation: 0
Status: Offline
Ah. Well. You might wanna add that into the thread description.

I think I put a limit on when you can edit threads so I don't know if you can edit it anymore.


 
DelathDate: Monday, 2008-10-27, 12:00 PM | Message # 9
Kitty
Group: Members
Messages: 65
Reputation: 0
Status: Offline
It looks like programming language to me. Why not have a normal calender here, if you're going to do that?
 
  • Page 1 of 1
  • 1
Search:

Copyright MyCorp © 2026 Free website builderuCoz