We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hello to everyone, Im quite new to programming and I had this Idea of making a countdown for the finals. Anyways I am not sure which commands to use for the months and how to separate the ones who have 31 days from the ones with 30. I am ignoring the leap year and this is the code that I have by now:
/counts day to finals/
n= (1,...,31);
void setup(){
size(600,800);
fill(255);
}
void draw(){
if (1< day <31){
true (jan,may, jul,ago, okt, dez)
}}
The way to organize the month is very uncomfortable, please community help me out with this!! :) I dont know how I shold do it...
Answers
See https://processing.org/reference/ search month...
http://forum.processing.org/two/discussion/8045/how-to-format-code-and-text
Forget about writing code for now. Instead, describe what you want to do in English. Break each of those steps down into smaller sets.
For example, here is a "get dressed" program:
First draft:
Second draft:
Third draft:
countdown for the finals -> which finals
european soccer championship?