
LANGUAGE: JAVA
CHALLENGE:
Declare a multidimensional array of ints , westboundHollandTunnelTraffic that can store the number of vehicles going westbound through the Holland Tunnel on a particular hour on a particular day on a particular week on a particular year. The innermost dimension should be years, with the next being weeks, and so on.
SOLUTION:
int westboundHollandTunnelTraffic [ ] [ ] [ ] [ ];
Declare an array of integers , westboundHollandTunnelTraffic that can store the number of vehicles going westbound through the Holland Tunnel on a particular hour (numbered 0 through 23) on a particular day (numbered 0 through 6) on a particular week numbered (0 through 51) over the last ten years (numbered 0 through 9). The innermost dimension should be years, with the next being weeks, and so on.
Declare an array of integers , westboundHollandTunnelTraffic that can store the number of vehicles going westbound through the Holland Tunnel on a particular hour (numbered 0 through 23) on a particular day (numbered 0 through 6) on a particular week numbered (0 through 51) over the last ten years (numbered 0 through 9). The innermost dimension should be years, with the next being weeks, and so on. how bout this question?