Brand new to Javascript and am still trying to get to grips with the basics.
I am currently trying to do an average temperature calculator... Pretty simple to you guys, but a project that I am finding a bit tricky...
Without using arrays, how do I store 31 temperatures for december?
Do I have to use 31 Variables? such as
var dec1
var dec2 etc etc
then have a prompt box loop, entering fields into each variable...
What if I wanted to log temps for the whole year, does that mean 365variables
aarrgghh, after sitting here most of Friday day and all of today I am having an absoloute mare on this...
Anyone offer any help
Many thanks
Paul
I am currently trying to do an average temperature calculator... Pretty simple to you guys, but a project that I am finding a bit tricky...
Without using arrays, how do I store 31 temperatures for december?
Do I have to use 31 Variables? such as
var dec1
var dec2 etc etc
then have a prompt box loop, entering fields into each variable...
What if I wanted to log temps for the whole year, does that mean 365variables

aarrgghh, after sitting here most of Friday day and all of today I am having an absoloute mare on this...
Anyone offer any help

Many thanks
Paul