Das speichert also zufällige Werte in den Array-Elementen von 31-58 und dann in die gesamte Durchschnitt. Dann zeige ich sie einfach aus. Von dem Programm kann ich den Tagesnamen anzeigen, wenn ich wollte. < /strong> < /p>
Und mein Code sieht ausdouble [] anArray = new double[366];//Keep track of all the days in the year
String [] weekday = new String[366];//I hope to store the day names in this array
String days[]={"monday","tuesday","wednesday","thursday",
"friday","saturday","sunday"};
//---each letter is 0 to start each new month at monday---
int a=0;int b=0;int c=0;int d=0;int e=0;int f=0;int g=0;int h=0;int i=0;
int j=0;int k=0;int l=0;//Days counter
//--These start at 1 to start each new month on the 1st
int jandays=1;int febdays=1;int mardays=1;int aprdays=1;int maydays=1;int jundays=1;
int juldays=1;int augdays=1;int septdays=1;int octdays=1;int novdays=1;int decdays=1;
//Temperatures for February
for(int feb=31;feb
Hölle Was ich frage, verwirrt mich irgendwie O.O.
Lagern Sie Inhalte von einem Array in ein anderes Array ⇐ Java
-
- Similar Topics
- Replies
- Views
- Last post
-
-
Synchron ein Array sortieren, indem Sie ein anderes Array sortieren [Duplikat]
by Anonymous » » in Php - 0 Replies
- 31 Views
-
Last post by Anonymous
-