CJCoding With Joseph
15per day
TitleTopicsAction
45
For Loop 1 to 10Write a program that prints the numbers from 1 to 10 using a for loop. Print all...
easy○ Not Started
Loops
Solve
46
While Loop 10 to 1Write a program that prints the numbers from 10 down to 1 using a while loop. Pr...
easy○ Not Started
Loops
Solve
47
Do-While 1 to 5Write a program that prints the numbers from 1 to 5 using a do-while loop. Print...
easy○ Not Started
Loops
Solve
48
Sum 1 to 100 (for)Write a program that calculates the sum of numbers from 1 to 100 using a for loo...
easy○ Not Started
Loops
Solve
49
Multiplication Table (while)Ask the user to enter a number, then print its multiplication table up to 10 usi...
easy○ Not Started
LoopsUser Input
Solve
50
Factorial with Do-While (input)Ask the user for a number, then calculate and print its factorial using a do-whi...
easy○ Not Started
LoopsUser Input
Solve
51
Skip Number 5 (continue)Print numbers from 1 to 10 using a for loop, skipping 5 with continue....
easy○ Not Started
Loops
Solve
52
Odd Numbers 1 to 10 (continue)Print only odd numbers from 1 to 10 using a for loop and continue. Use modulo (i...
easy○ Not Started
Loops
Solve
53
Break on Zero (while input)Keep asking for numbers in a while loop and break when the user enters 0. For ea...
easy○ Not Started
LoopsUser Input
Solve
54
Even Numbers 2 to 20 (for)Print even numbers from 2 to 20 using a for loop....
easy○ Not Started
Loops
Solve
55
Odd Numbers 1 to 19 (for)Print odd numbers from 1 to 19 using a for loop....
easy○ Not Started
Loops
Solve
56
Squares 1 to 5 (for)Print the squares of numbers from 1 to 5 using a for loop....
easy○ Not Started
Loops
Solve
57
Sum 1 to 50 (for)Compute the sum of numbers from 1 to 50 using a for loop and print 'Sum: 1275'....
easy○ Not Started
Loops
Solve
58
Multiplication Table of 4 (for)Print the multiplication table of 4 from 1 to 10 using a for loop....
easy○ Not Started
Loops
Solve
59
Repeat Star 5 Times (for)Print five '*' characters on one line using a for loop....
easy○ Not Started
Loops
Solve
60
Array Elements (for-each)Given an int array {2, 4, 6, 8}, print elements using a for-each loop on one lin...
easy○ Not Started
Loops
Solve
61
Skip Multiples of 3 (continue)Print numbers 1 to 10 but skip multiples of 3 using continue....
easy○ Not Started
Loops
Solve
62
Break at 5 (for)Print numbers starting at 0 using a for loop and break when i equals 5. Output s...
easy○ Not Started
Loops
Solve
63
Countdown 5 to 0 (for)Use a for loop to count down from 5 to 0....
easy○ Not Started
Loops
Solve
65
Sum of Evens 1..10 (for)Compute the sum of even numbers from 1 to 10 using a for loop and print 'Sum of ...
easy○ Not Started
Loops
Solve
66
Factorial of 5 (for)Calculate the factorial of 5 using a for loop....
easy○ Not Started
Loops
Solve
67
Print 1..N (for input)Read an integer N and print numbers from 1 to N using a for loop....
easy○ Not Started
LoopsUser Input
Solve
68
Multiples of 5 up to 50 (for)Print multiples of 5 up to 50 using a for loop....
easy○ Not Started
Loops
Solve
145
Count Zeros in an ArrayRead an integer n, then read n integers. Count how many of the values are exactl...
easy○ Not Started
ArraysLoops
Solve
64
3x5 Stars (nested for)Use nested for loops to print 3 rows of 5 '*' characters....
medium○ Not Started
Loops
Solve
147
Longest Word LengthRead an integer n, then read n words. Find and print the length of the longest w...
medium○ Not Started
ArraysLoops
Solve