CJCoding With Joseph
TitleTopicsAction
69
If Equals To 50Create an int variable x = 50. Use an if statement with == to check if x is equa...
easy○ Not Started
If Statements
Solve
70
If Greater Than 50Create an int variable x = 60. Use if/else with > to check if x is greater than ...
easy○ Not Started
If Statements
Solve
71
If Less Than 50Create an int variable x = 40. Use if/else with < to check if x is less than 50 ...
easy○ Not Started
If Statements
Solve
72
If Greater or EqualCreate an int variable x = 50. Use an if statement with >= to check if x is grea...
easy○ Not Started
If Statements
Solve
73
If Less or EqualCreate an int variable x = 50. Use an if statement with <= to check if x is less...
easy○ Not Started
If Statements
Solve
74
If Not EqualCreate an int variable x = 25. Use an if statement with != to check if x is not ...
easy○ Not Started
If Statements
Solve
75
Else If First MatchCreate int x = 50 and use if / else if / else to print only the first matching c...
easy○ Not Started
If Statements
Solve
76
Else Block CaseCreate int x = 0 and use if / else if / else so that all conditions are false an...
easy○ Not Started
If Statements
Solve
77
Even or Odd (No Input)Create int number = 51. Use if/else with % to print Even or Odd. Expected Outpu...
easy○ Not Started
If Statements
Solve
78
Positive or Negative (No Input)Create int num = 5. Use if/else to print if it is positive or negative. Expecte...
easy○ Not Started
If Statements
Solve
146
Sign of a NumberRead one number. Use if-else statements to determine and print its sign: print 0...
easy○ Not Started
If Statements
Solve
327
Divisible by 3 (No Input)Create an `int` variable named `number` with the value `9`. Use an `if` statemen...
easy○ Not Started
If Statements
Solve
328
Voting Eligibility (Input)Read an `int` called `age` from standard input using a `Scanner`. If `age >= 18`...
easy○ Not Started
If Statements
Solve
329
Password Length Check (Input)Read a single word `password` from standard input using `Scanner`'s `next()` met...
easy○ Not Started
If Statements
Solve
330
Absolute Value (No Input)Create an `int` variable `number` set to `-7`. Using an `if` statement, compute ...
easy○ Not Started
If Statements
Solve
331
Discount Eligibility (Input)Read an `int` called `amount` (a purchase total in dollars) from standard input....
easy○ Not Started
If Statements
Solve
332
Pass or Fail (No Input)Create an `int` variable `score` set to `72`. If `score >= 60`, print `Pass`; ot...
easy○ Not Started
If Statements
Solve
333
Divisible by 7 (No Input)Create an `int` variable `number` set to `21`. Use an `if` statement to check wh...
easy○ Not Started
If Statements
Solve
334
Multiple of 10 (Input)Read an `int` called `number` from standard input. If `number` is a multiple of ...
easy○ Not Started
If Statements
Solve
335
Freezing Point Check (No Input)Create an `int` variable `temperature` set to `-3` (degrees Celsius). If `temper...
easy○ Not Started
If Statements
Solve
336
Negative Balance Warning (No Input)Create a `double` variable `balance` set to `-25.5`. If `balance < 0`, print `Wa...
easy○ Not Started
If Statements
Solve
337
Speeding Check (Input)Read an `int` called `speed` from standard input. If `speed > 60`, print `Speedi...
easy○ Not Started
If Statements
Solve
338
Fever Check (No Input)Create a `double` variable `temperature` set to `38.5` (body temperature in Cels...
easy○ Not Started
If Statements
Solve
79
Letter Grade (No Input)Create int grade = 75 and use an if/else if/else chain to print the letter grade...
medium○ Not Started
If Statements
Solve
80
In Range 1..100 (No Input)Create int inRange = 75 and use && to check if it is between 1 and 100 inclusive...
medium○ Not Started
If Statements
Solve
81
Out of Range (No Input)Create int outOfRange = 11 and use || to check if it is out of range for 1..10. ...
medium○ Not Started
If Statements
Solve
82
Complex Boolean ExpressionCreate int myNum = 6 and use parentheses to evaluate a complex boolean expressio...
medium○ Not Started
If Statements
Solve
83
Two Conditions with &&Create int x = 50 and int y = 10. Use && to check if x == 50 and y > 5. Print: ...
medium○ Not Started
If Statements
Solve
84
At Least One True with ||Create int x = 5 and int y = 100. Use || to check if x < 0 or y >= 100. Print: ...
medium○ Not Started
If Statements
Solve
85
Nested If Entry CheckCreate int age = 18 and boolean hasId = true. Use nested if statements to print:...
medium○ Not Started
If Statements
Solve
86
Multiple Ifs vs Else-IfCreate int x = 50. Write three separate if statements (not else-if) that check x...
medium○ Not Started
If Statements
Solve
87
Even or Odd (Input)Read an integer and print Even if it is divisible by 2, otherwise print Odd. ⚠️...
medium○ Not Started
If StatementsUser Input
Solve
88
Positive, Negative, or Zero (Input)Read an integer and print Positive, Negative, or Zero using if/else if/else. ⚠️...
medium○ Not Started
If StatementsUser Input
Solve
89
Range Check 1..100 (Input)Read an integer and print In range if it is between 1 and 100 inclusive, otherwi...
medium○ Not Started
If StatementsUser Input
Solve
90
Simple Withdrawal Check (Input)Account balance is 1000. Read a withdrawal amount (double). If it is > 0 and <= ...
medium○ Not Started
If StatementsUser Input
Solve
91
Scholarship Eligibility (Input)Read a float GPA and an int serviceHours. If GPA > 3.5 OR serviceHours >= 50, pr...
medium○ Not Started
If StatementsUser Input
Solve
92
Multiple of 5 and EvenCreate int num = 20. If num is a multiple of 5 AND even, print: Multiple of 5 a...
medium○ Not Started
If Statements
Solve
93
Temperature CategoryCreate int temp = 72. Use if/else if/else to print Warm if temp >= 70, Cool if t...
medium○ Not Started
If Statements
Solve
339
Leap Year Check (Input)Read an `int` called `year` from standard input. A year is a leap year when it i...
medium○ Not Started
If Statements
Solve
340
Max of Two Numbers (Input)Read two integers `a` and `b` from standard input (they may be on the same line,...
medium○ Not Started
If Statements
Solve
341
Vowel or Consonant (Input)Read a single lowercase letter from standard input (use `sc.next().charAt(0)` to...
medium○ Not Started
If Statements
Solve
342
Uppercase Letter Check (Input)Read a single character from standard input (use `sc.next().charAt(0)` to get a ...
medium○ Not Started
If Statements
Solve
343
Traffic Light Response (Input)Read a word `color` from standard input (one of `red`, `yellow`, or `green`). Pr...
medium○ Not Started
If Statements
Solve
344
Three-Way Number Comparison (Input)Read two integers `a` and `b` from standard input. Using an if / else-if / else ...
medium○ Not Started
If Statements
Solve
345
Even Sum Check (Input)Read two integers from standard input, add them into a variable `sum`, and repor...
medium○ Not Started
If Statements
Solve
346
Login Attempt Lock (Input)Read an `int` called `attempts` (the number of failed login attempts) from stand...
medium○ Not Started
If Statements
Solve
347
FizzBuzz Single Number (Input)Read an `int` called `number` from standard input and apply FizzBuzz rules to th...
hard○ Not Started
If Statements
Solve
348
BMI Category (Input)Read an `int` called `bmi` from standard input and print its category using an i...
hard○ Not Started
If Statements
Solve
349
Greatest of Three (Input)Read three integers `a`, `b`, and `c` from standard input and print the greatest...
hard○ Not Started
If Statements
Solve
350
Ticket Price by Age (Input)Read an `int` called `age` from standard input and print the ticket price using ...
hard○ Not Started
If Statements
Solve