CJCoding With Joseph
TitleTopicsAction
194
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
195
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
196
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
197
Print Five StarsUse a for loop to print exactly five '*' characters on one line. Expected outpu...
easy○ Not Started
Loops
Solve
198
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
199
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
200
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
201
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
202
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
203
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
204
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
205
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
206
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
207
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
208
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
318
Print Letters A to ZUse a loop to print the uppercase letters `A` through `Z` on a single line with ...
easy○ Not Started
Loops
Solve
319
Sum of Odd Numbers 1 to 9Use a loop to add the odd numbers `1, 3, 5, 7, 9` and print the total. The exact...
easy○ Not Started
Loops
Solve
320
Print Multiples of 3 up to 30Use a loop to print every multiple of 3 from 3 up to and including 30, one per l...
easy○ Not Started
Loops
Solve
321
Cubes 1 to 5Use a loop to print the cube (n*n*n) of each number from 1 to 5, one per line. T...
easy○ Not Started
Loops
Solve
322
Powers of 2 up to 128Use a loop to print the powers of 2 starting at 1, doubling each step, up to and...
easy○ Not Started
Loops
Solve
323
Sum of Squares 1 to 5Use a loop to add the squares of the numbers 1 to 5 (1 + 4 + 9 + 16 + 25) and pr...
easy○ Not Started
Loops
Solve
324
Even Numbers 20 Down to 2Use a loop to print the even numbers from 20 down to 2, one per line, counting d...
easy○ Not Started
Loops
Solve
325
Multiplication Table of 7Use a loop to print the multiplication table of 7 from 1 to 10 in the format `7 ...
easy○ Not Started
Loops
Solve
326
Repeat a Word 4 TimesUse a loop to print the word `Hello` on 4 separate lines. The exact output is: ...
easy○ Not Started
Loops
Solve
327
Average of 1 to 10Use a loop to sum the numbers 1 to 10, then print their average with exactly 2 d...
easy○ Not Started
Loops
Solve
328
Numbers 1 to 20 on One LineUse a loop to print the numbers 1 to 20 on a single line separated by single spa...
easy○ Not Started
Loops
Solve
329
Count Down by Twos 10 to 0Use a loop to print numbers from 10 down to 0, decreasing by 2 each step, one pe...
easy○ Not Started
Loops
Solve
330
Number and Its Square 1 to 5Use a loop to print each number from 1 to 5 together with its square, separated ...
easy○ Not Started
Loops
Solve
209
Multiplication Table of NRead an integer N, then print its multiplication table from 1 to 10. Each line s...
medium○ Not Started
Loops
Solve
210
Factorial of NRead an integer N (assume N >= 1), then use a loop to compute N! (the product of...
medium○ Not Started
Loops
Solve
211
Count the DigitsRead a positive integer N, then use a while loop to count how many digits it has...
medium○ Not Started
Loops
Solve
212
Sum of DigitsRead a positive integer N, then use a while loop to add up its digits. Print the...
medium○ Not Started
Loops
Solve
213
Power with a LoopRead two integers, a base and an exponent (base first). Use a loop to compute ba...
medium○ Not Started
Loops
Solve
214
Right Triangle of StarsRead an integer N, then use nested loops to print a right triangle of stars with...
medium○ Not Started
Loops
Solve
215
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
331
Sum of Numbers from A to BRead two integers `a` and `b` from input (with `a <= b`). Use a loop to add ever...
medium○ Not Started
Loops
Solve
332
Sum of Odd Numbers up to NRead an integer `N` from input. Use a loop to add every odd number from 1 up to ...
medium○ Not Started
Loops
Solve
333
Reverse a NumberRead a positive integer from input and use a loop to print its digits reversed, ...
medium○ Not Started
Loops
Solve
334
Count Vowels in a WordRead a single word (no spaces) from input and use a loop to count how many vowel...
medium○ Not Started
Loops
Solve
335
FizzBuzz 1 to NRead an integer `N` from input. Use a loop over 1..N and print, one per line: `F...
medium○ Not Started
Loops
Solve
336
Largest Digit in a NumberRead a positive integer from input and use a loop to find its largest digit. Pri...
medium○ Not Started
Loops
Solve
337
Sum of Squares up to NRead an integer `N` from input. Use a loop to add the squares of the numbers 1 t...
medium○ Not Started
Loops
Solve
338
Inverted Right Triangle of StarsRead an integer `N` from input. Use nested loops to print an inverted right tria...
medium○ Not Started
Loops
Solve
216
Fibonacci First N TermsRead an integer N (N >= 1), then print the first N terms of the Fibonacci sequen...
hard○ Not Started
Loops
Solve
217
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
218
Multiplication GridRead an integer N, then print an N x N multiplication grid. The value in row r, ...
hard○ Not Started
Loops
Solve
339
Number PyramidRead an integer `N` from input. Use nested loops to print a pyramid where row `i...
hard○ Not Started
Loops
Solve
340
GCD with a LoopRead two positive integers `a` and `b` from input. Use a loop (the Euclidean alg...
hard○ Not Started
Loops
Solve
341
Binary Representation of a NumberRead a positive integer from input and use a loop to print its binary (base-2) r...
hard○ Not Started
Loops
Solve
342
Collatz StepsRead a positive integer from input. Repeatedly apply the Collatz rule until the ...
hard○ Not Started
Loops
Solve