| Surgeon | Date: Sunday, 2008-03-09, 11:34 AM | Message # 1 |
|
Lesser Elemental
Group: Moderators
Messages: 24
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 |
| |
|
|
| Malise | Date: Wednesday, 2008-03-12, 11:00 AM | Message # 2 |
 Toad Warrior
Group: Administrators
Messages: 195
Status: Offline
| Random. What's this for?
|
| |
|
|
| LordofLight | Date: Wednesday, 2008-03-12, 11:21 AM | Message # 3 |
|
Kitty
Group: Members
Messages: 55
Status: Offline
| probably a calender for games, or websites?
Thanks Mally Fow the Awesome Siggy ^_^
|
| |
|
|
| Malise | Date: Wednesday, 2008-03-12, 11:22 AM | Message # 4 |
 Toad Warrior
Group: Administrators
Messages: 195
Status: Offline
| Yeah. But it still seems random. o.O
|
| |
|
|
| LordofLight | Date: Wednesday, 2008-03-12, 11:43 AM | Message # 5 |
|
Kitty
Group: Members
Messages: 55
Status: Offline
| Lol, True, not alot of people care about having calenders XD
Thanks Mally Fow the Awesome Siggy ^_^
|
| |
|
|
| Malise | Date: Wednesday, 2008-03-12, 11:49 AM | Message # 6 |
 Toad Warrior
Group: Administrators
Messages: 195
Status: Offline
| I have one for News Updates :P Makes it glowy when I add one 
|
| |
|
|
| Surgeon | Date: Wednesday, 2008-03-12, 4:25 PM | Message # 7 |
|
Lesser Elemental
Group: Moderators
Messages: 24
Status: Offline
| This is a basic java program showing how strings, work
|
| |
|
|
| Malise | Date: Thursday, 2008-03-13, 6:21 AM | Message # 8 |
 Toad Warrior
Group: Administrators
Messages: 195
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.
|
| |
|
|
| Delath | Date: Monday, 2008-10-27, 12:00 PM | Message # 9 |
|
Kitty
Group: Members
Messages: 65
Status: Offline
| It looks like programming language to me. Why not have a normal calender here, if you're going to do that?
|
| |
|
|