CJCoding With Joseph
15per day
TitleTopicsAction
22
For Loop: Print 1 to 5Use a for loop to print the numbers 1 through 5, one number per line. Expected ...
easy○ Not Started
Loops
Solve
23
While Loop: CountdownUse a while loop to count down from 5 to 1, printing one number per line. Expec...
easy○ Not Started
Loops
Solve
24
Do...While Loop: Print 3 TimesUse a do...while loop to print "Practice makes progress" exactly 3 times. Expec...
easy○ Not Started
Loops
Solve
25
For Loop: Sum 1 to 10Use a for loop to add the numbers 1 through 10, then print the final sum. Expec...
easy○ Not Started
Loops
Solve
26
For Loop: Print Array ItemsUse a for loop to print each item in the fruits array on its own line. Array: [...
easy○ Not Started
LoopsArrays
Solve
27
While Loop: Sum an ArrayUse a while loop to find the total of all numbers in the array. Array: [4, 8, 2...
easy○ Not Started
LoopsArrays
Solve
28
Do...While Loop: Print Even NumbersUse a do...while loop to print the even numbers from 2 to 8. Expected output: 2...
easy○ Not Started
Loops
Solve
29
forEach: Print Student NamesUse forEach to print each student name with the prefix "Student: ". forEach run...
easy○ Not Started
LoopsArrays
Solve
30
forEach: Calculate Total PriceUse forEach to calculate the total of all prices in the array, then print it. A...
easy○ Not Started
LoopsArrays
Solve
31
map: Double Each NumberUse map to create a new array where each number is doubled, then print the resul...
easy○ Not Started
LoopsArrays
Solve
32
map: Convert Words to UppercaseUse map to convert each word in the array to uppercase, then print them as comma...
easy○ Not Started
LoopsArrays
Solve
33
filter: Keep Even NumbersUse filter to keep only the even numbers from the array, then print them as comm...
easy○ Not Started
LoopsArrays
Solve
34
filter: Keep Long WordsUse filter to keep words that have 5 or more characters, then print them as comm...
easy○ Not Started
LoopsArrays
Solve
35
map + filter: Square Even NumbersUse filter first to keep even numbers, then use map to square them. Print the re...
easy○ Not Started
LoopsArrays
Solve
36
forEach: Count Passing ScoresUse forEach and an if statement to count how many scores are 60 or higher, then ...
easy○ Not Started
LoopsArrays
Solve