CJCoding With Joseph
15per day
TitleTopicsAction
104
For Loop 1 to 10Use a `for` loop to print the numbers 1 to 10 on one line, separated by single s...
easy○ Not Started
Loops
Solve
105
While Loop 10 to 1Use a `while` loop to print 10 down to 1 on one line, separated by single spaces...
easy○ Not Started
Loops
Solve
106
Do-While 1 to 5Use a `do-while` loop to print 1 to 5 on one line, separated by single spaces. ...
easy○ Not Started
Loops
Solve
107
Print Five StarsUse a `for` loop to print five `*` characters on one line. *****...
easy○ Not Started
Loops
Solve
108
Even Numbers 2 to 20Use a `for` loop to print the even numbers from 2 to 20, separated by single spa...
easy○ Not Started
Loops
Solve
109
Odd Numbers 1 to 19Use a `for` loop to print the odd numbers from 1 to 19, separated by single spac...
easy○ Not Started
Loops
Solve
110
Countdown 5 to 0Use a `for` loop to count down from 5 to 0 on one line, separated by single spac...
easy○ Not Started
Loops
Solve
111
Multiples of 5 up to 50Use a `for` loop to print the multiples of 5 from 5 to 50, separated by single s...
easy○ Not Started
Loops
Solve
112
Squares 1 to 5Use a `for` loop to print the squares of 1 to 5, separated by single spaces. 1 ...
easy○ Not Started
Loops
Solve
113
Sum 1 to 100Use a `for` loop to add the numbers 1 to 100 and print the total in this format:...
easy○ Not Started
Loops
Solve
114
Sum of Evens 1 to 10Use a `for` loop to add only the even numbers from 1 to 10 and print: Sum of ev...
easy○ Not Started
Loops
Solve
115
Factorial of 5Use a `for` loop to compute the factorial of 5 (5 x 4 x 3 x 2 x 1) and print it:...
easy○ Not Started
Loops
Solve
116
Multiplication Table of 4Use a `for` loop to print the multiplication table of 4 from 1 to 10, one line e...
easy○ Not Started
Loops
Solve
117
Print 1 to NRead an integer N, then use a `for` loop to print 1 to N on one line separated b...
easy○ Not Started
Loops
Solve
118
Sum 1 to NRead an integer N, then use a `for` loop to add 1 to N and print: Sum: [total] ...
easy○ Not Started
Loops
Solve
119
foreach Over an ArrayAn int array `{2, 4, 6, 8}` is given. Use a `foreach` loop to print each element...
easy○ Not Started
Loops
Solve
120
Multiplication Table of NRead an integer N and print its multiplication table from 1 to 10, one line each...
medium○ Not Started
Loops
Solve
121
Factorial of NRead an integer N (N >= 1) and print N! (the product of 1 to N). Use a `long` so...
medium○ Not Started
Loops
Solve
122
Count the DigitsRead a positive integer N and use a `while` loop to count how many digits it has...
medium○ Not Started
Loops
Solve
123
Power with a LoopRead a base and an exponent (each on its own line). Use a loop to compute base r...
medium○ Not Started
Loops
Solve
124
Right Triangle of StarsRead an integer N and use nested loops to print a right triangle with N rows, wh...
medium○ Not Started
Loops
Solve
125
Count Even and OddRead an integer N, then loop from 1 to N counting evens and odds. Print on two l...
medium○ Not Started
Loops
Solve
126
Fibonacci First N TermsRead an integer N (N >= 1) and print the first N Fibonacci numbers on one line s...
hard○ Not Started
Loops
Solve
127
Primes up to NRead an integer N and print every prime number from 2 to N on one line separated...
hard○ Not Started
Loops
Solve
128
Multiplication GridRead an integer N and print an N x N multiplication grid. The value in row r, co...
hard○ Not Started
Loops
Solve