+ 6

Please fill in the right keywords to test the conditions: (day_of_week) { case 1: case 2: case 3: case 4: case 5

I am struggling with is question. is it a for loop?

8th Jun 2019, 8:39 PM
Robert Ramirez
9 Antworten
+ 6
switch break; break;
29th Sep 2019, 5:31 PM
Sehar Jamil
Sehar Jamil - avatar
+ 4
switch break; break;
17th Mar 2020, 10:30 AM
amina birabwa
+ 3
switch (day_of_week) { case 1: case 2: case 3: case 4: case 5: document.write("Working Days"); break ; case 6: document.write("Saturday"); break; default: document.write("Today is Sunday"); break; }
2nd Jul 2020, 7:25 AM
Rustamjon Kosimov
Rustamjon Kosimov - avatar
+ 1
first one is 👉switch 2 is 👉break and also 3 is the same 👉break
9th Dec 2020, 6:13 PM
Turikumana Isaie
Turikumana Isaie - avatar
0
switch break; break;
24th Mar 2021, 4:48 PM
Hesam Dehghan Moshtaghin
0
Thanks you
24th Apr 2021, 3:21 PM
Mohammed Auwal Usman
Mohammed Auwal Usman - avatar
0
switch (day_of_week) { case 1: case 2: case 3: case 4: case 5: document.write("Working Days"); break ; case 6: document.write("Saturday"); break; default: document.write("Today is Sunday"); break; } Thank you!!!
26th Jul 2021, 11:48 PM
Rajan Raj Uprety
0
switch (day_of_week) { case 1: case 2: case 3: case 4: case 5: document.write("Working Days"); break ; case 6: document.write("Saturday"); break; default: document.write("Today is Sunday"); break; }
2nd Dec 2021, 3:19 PM
Md. Rakibul Islam
Md. Rakibul Islam - avatar
0
switch break break
11th Nov 2022, 9:50 AM
Daniela Bulimar
Daniela Bulimar - avatar