CJCoding With Joseph
TitleTopicsAction
24
For Loop 1 to 10Use a for loop to print the numbers from 1 to 10 on one line, separated by singl...
easy○ Not Started
Loops
Solve
25
While Loop 10 Down to 1Use a while loop to print the numbers from 10 down to 1 on one line, separated b...
easy○ Not Started
Loops
Solve
26
Do-While 1 to 5Use a do-while loop to print the numbers from 1 to 5 on one line, separated by s...
easy○ Not Started
Loops
Solve
27
Print Five StarsUse a for loop to print exactly five '*' characters on one line. Expected outpu...
easy○ Not Started
Loops
Solve
28
Even Numbers 2 to 20Use a for loop to print the even numbers from 2 to 20 on one line, separated by ...
easy○ Not Started
Loops
Solve
29
Odd Numbers 1 to 19Use a for loop to print the odd numbers from 1 to 19 on one line, separated by s...
easy○ Not Started
Loops
Solve
30
Countdown 5 to 0Use a for loop to count down from 5 to 0 on one line, separated by single spaces...
easy○ Not Started
Loops
Solve
31
Multiples of 5 up to 50Use a for loop to print the multiples of 5 from 5 up to 50 on one line, separate...
easy○ Not Started
Loops
Solve
32
Squares 1 to 5Use a for loop to print the squares of the numbers 1 to 5 on one line, separated...
easy○ Not Started
Loops
Solve
33
Sum 1 to 100Use a for loop to add up all the numbers from 1 to 100, then print the total in ...
easy○ Not Started
Loops
Solve
34
Sum of Evens 1 to 10Use a for loop to add up only the even numbers from 1 to 10, then print the tota...
easy○ Not Started
Loops
Solve
35
Factorial of 5Use a for loop to calculate the factorial of 5 (5 x 4 x 3 x 2 x 1), then print i...
easy○ Not Started
Loops
Solve
36
Multiplication Table of 4Use a for loop to print the multiplication table of 4, from 1 to 10. Print each ...
easy○ Not Started
Loops
Solve
37
Print 1 to NRead an integer N, then use a for loop to print the numbers from 1 to N on one l...
easy○ Not Started
Loops
Solve
38
Sum 1 to NRead an integer N, then use a for loop to add up all the numbers from 1 to N. Pr...
easy○ Not Started
Loops
Solve
201
Sum of Odd Numbers 1 to 9Use a loop to add the odd numbers `1`, `3`, `5`, `7`, and `9`, then print their ...
easy○ Not Started
Loops
Solve
202
Multiples of 3 up to 30Print every multiple of `3` from `3` up to and including `30`, one number per li...
easy○ Not Started
Loops
Solve
203
Cubes 1 to 5Print the cubes of the numbers `1` through `5` (each is `i * i * i`), one per li...
easy○ Not Started
Loops
Solve
204
Print Letters A to ELoop over the uppercase letters from `A` to `E` and print them on a single line ...
easy○ Not Started
Loops
Solve
205
Countdown by TwosCount down from `10` to `0`, stepping by `2`, printing each number on its own li...
easy○ Not Started
Loops
Solve
206
Even Numbers in ReversePrint the even numbers from `20` down to `2` in descending order, one per line: ...
easy○ Not Started
Loops
Solve
207
ASCII Codes of A to EFor each uppercase letter from `A` to `E`, print its ASCII code on its own line:...
easy○ Not Started
Loops
Solve
208
Repeat a Word Three TimesPrint the word `Hello` three times, each on its own line, using a loop: Hello H...
easy○ Not Started
Loops
Solve
209
Multiples of 7 up to 70Print every multiple of `7` from `7` up to and including `70`, one per line: 7 ...
easy○ Not Started
Loops
Solve
210
Print N HashesRead an integer `n` from standard input, then print exactly `n` `#` characters o...
easy○ Not Started
Loops
Solve
211
Sum 1 to 50Use a loop to add every integer from `1` to `50`, then print the total with no t...
easy○ Not Started
Loops
Solve
212
Powers of Two up to 128Starting from `1`, repeatedly double the value and print each result up to `128`...
easy○ Not Started
Loops
Solve
213
Skip the Number 3Loop from `1` to `6` and print each number on its own line, but SKIP the number ...
easy○ Not Started
Loops
Solve
39
Multiplication Table of NRead an integer N, then print its multiplication table from 1 to 10. Each line s...
medium○ Not Started
Loops
Solve
40
Factorial of NRead an integer N (assume N is at least 1), then use a loop to compute N! (the p...
medium○ Not Started
Loops
Solve
41
Count the DigitsRead a positive integer N, then use a while loop to count how many digits it has...
medium○ Not Started
Loops
Solve
42
Sum of DigitsRead a positive integer N, then use a while loop to add up its digits. Print the...
medium○ Not Started
Loops
Solve
43
Power with a LoopRead two integers, a base and an exponent (both on the input, base first). Use a...
medium○ Not Started
Loops
Solve
44
Right Triangle of StarsRead an integer N, then use nested loops to print a right triangle of stars with...
medium○ Not Started
Loops
Solve
45
Count Even and Odd in a RangeRead an integer N, then loop from 1 to N counting how many numbers are even and ...
medium○ Not Started
Loops
Solve
214
FizzBuzz 1 to 15Print the numbers `1` through `15`, one per line, with a twist: for multiples of...
medium○ Not Started
Loops
Solve
215
Reverse a NumberRead a positive integer `n` from standard input and print its digits reversed, w...
medium○ Not Started
Loops
Solve
216
Sum of Squares 1 to NRead an integer `n` from standard input and print the sum of the squares `1*1 + ...
medium○ Not Started
Loops
Solve
217
Largest Digit in a NumberRead a positive integer `n` from standard input and print its largest digit, wit...
medium○ Not Started
Loops
Solve
218
Inverted Right Triangle of StarsRead an integer `n` from standard input and print an inverted right triangle of ...
medium○ Not Started
Loops
Solve
219
Sum of First N Odd NumbersRead an integer `n` from standard input and print the sum of the first `n` odd n...
medium○ Not Started
Loops
Solve
220
Count Multiples of 3 in a RangeRead two integers `a` and `b` (with `a <= b`) from standard input and print how ...
medium○ Not Started
Loops
Solve
221
Alternating Sum 1 to NRead an integer `n` from standard input and print the alternating sum `1 - 2 + 3...
medium○ Not Started
Loops
Solve
222
Number TriangleRead an integer `n` from standard input and print a number triangle: row `i` con...
medium○ Not Started
Loops
Solve
46
Fibonacci First N TermsRead an integer N (N >= 1), then print the first N terms of the Fibonacci sequen...
hard○ Not Started
Loops
Solve
47
Print Primes up to NRead an integer N, then print every prime number from 2 up to and including N, o...
hard○ Not Started
Loops
Solve
48
Multiplication GridRead an integer N, then print an N x N multiplication grid. The value in row r, ...
hard○ Not Started
Loops
Solve
223
GCD of Two NumbersRead two positive integers `a` and `b` from standard input and print their great...
hard○ Not Started
Loops
Solve
224
Collatz StepsRead a positive integer `n` from standard input and print how many steps it take...
hard○ Not Started
Loops
Solve
225
Digital RootRead a positive integer `n` from standard input and print its digital root: repe...
hard○ Not Started
Loops
Solve