CJCoding With Joseph
15free / daySign inCreate account
TitleOpen
69
If Equals To 50Create an int variable x = 50.
easyNot startedSolve
70
If Greater Than 50Create an int variable x = 60.
easyNot startedSolve
71
If Less Than 50Create an int variable x = 40.
easyNot startedSolve
72
If Greater or EqualCreate an int variable x = 50.
easyNot startedSolve
73
If Less or EqualCreate an int variable x = 50.
easyNot startedSolve
74
If Not EqualCreate an int variable x = 25.
easyNot startedSolve
75
Else If First MatchCreate int x = 50 and use if / else if / else to print only the first matching condition, then print Done.
easyNot startedSolve
76
Else Block CaseCreate int x = 0 and use if / else if / else so that all conditions are false and the else block runs.
easyNot startedSolve
77
Even or Odd (No Input)Create int number = 51.
easyNot startedSolve
78easyNot startedSolve
146
Sign of a NumberRead one number.
easyNot startedSolve
327
Divisible by 3 (No Input)Create an int variable named number with the value 9.
easyNot startedSolve
328
Voting Eligibility (Input)Read an int called age from standard input using a Scanner.
easyNot startedSolve
329
Password Length Check (Input)Read a single word password from standard input using Scanner's next() method.
easyNot startedSolve
330
Absolute Value (No Input)Create an int variable number set to -7.
easyNot startedSolve
331
Discount Eligibility (Input)Read an int called amount (a purchase total in dollars) from standard input.
easyNot startedSolve
332
Pass or Fail (No Input)Create an int variable score set to 72.
easyNot startedSolve
333
Divisible by 7 (No Input)Create an int variable number set to 21.
easyNot startedSolve
334
Multiple of 10 (Input)Read an int called number from standard input.
easyNot startedSolve
335
Freezing Point Check (No Input)Create an int variable temperature set to -3 (degrees Celsius).
easyNot startedSolve
336
Negative Balance Warning (No Input)Create a double variable balance set to -25.5.
easyNot startedSolve
337
Speeding Check (Input)Read an int called speed from standard input.
easyNot startedSolve
338
Fever Check (No Input)Create a double variable temperature set to 38.5 (body temperature in Celsius).
easyNot startedSolve
79
Letter Grade (No Input)Create int grade = 75 and use an if/else if/else chain to print the letter grade A, B, C, D, or F.
mediumNot startedSolve
80
In Range 1..100 (No Input)Create int inRange = 75 and use && to check if it is between 1 and 100 inclusive.
mediumNot startedSolve
81
Out of Range (No Input)Create int outOfRange = 11 and use || to check if it is out of range for 1..10.
mediumNot startedSolve
82
Complex Boolean ExpressionCreate int myNum = 6 and use parentheses to evaluate a complex boolean expression.
mediumNot startedSolve
83
Two Conditions with &&Create int x = 50 and int y = 10.
mediumNot startedSolve
84
At Least One True with ||Create int x = 5 and int y = 100.
mediumNot startedSolve
85
Nested If Entry CheckCreate int age = 18 and boolean hasId = true.
mediumNot startedSolve
86
Multiple Ifs vs Else-IfCreate int x = 50.
mediumNot startedSolve
87
Even or Odd (Input)Read an integer and print Even if it is divisible by 2, otherwise print Odd.
mediumNot startedSolve
88
Positive, Negative, or Zero (Input)Read an integer and print Positive, Negative, or Zero using if/else if/else.
mediumNot startedSolve
89
Range Check 1..100 (Input)Read an integer and print In range if it is between 1 and 100 inclusive, otherwise print Out of range.
mediumNot startedSolve
90
Simple Withdrawal Check (Input)Account balance is 1000.
mediumNot startedSolve
91
Scholarship Eligibility (Input)Read a float GPA and an int serviceHours.
mediumNot startedSolve
92
Multiple of 5 and EvenCreate int num = 20.
mediumNot startedSolve
93
Temperature CategoryCreate int temp = 72.
mediumNot startedSolve
339
Leap Year Check (Input)Read an int called year from standard input.
mediumNot startedSolve
340
Max of Two Numbers (Input)Read two integers a and b from standard input (they may be on the same line, separated by a space).
mediumNot startedSolve
341
Vowel or Consonant (Input)Read a single lowercase letter from standard input (use sc.next().charAt(0) to get a char named c).
mediumNot startedSolve
342
Uppercase Letter Check (Input)Read a single character from standard input (use sc.next().charAt(0) to get a char named c).
mediumNot startedSolve
343
Traffic Light Response (Input)Read a word color from standard input (one of red, yellow, or green).
mediumNot startedSolve
344
Three-Way Number Comparison (Input)Read two integers a and b from standard input.
mediumNot startedSolve
345
Even Sum Check (Input)Read two integers from standard input, add them into a variable sum, and report whether the sum is even or odd.
mediumNot startedSolve
346
Login Attempt Lock (Input)Read an int called attempts (the number of failed login attempts) from standard input.
mediumNot startedSolve
347
FizzBuzz Single Number (Input)Read an int called number from standard input and apply FizzBuzz rules to that one number.
hardNot startedSolve
348
BMI Category (Input)Read an int called bmi from standard input and print its category using an if / else-if chain: below 18 prints Underweight; 18 to 24 (inclusive) prints Normal; 25 to 29 (inclusive) prints Overweight; 30 or above prints Obese.
hardNot startedSolve
349
Greatest of Three (Input)Read three integers a, b, and c from standard input and print the greatest of the three using this exact wording: The greatest is <value> For the input 3 9 5 the output is exactly what is shown in Expected Output.
hardNot startedSolve
350
Ticket Price by Age (Input)Read an int called age from standard input and print the ticket price using an if / else-if chain: under 13 prints Price: $5; 13 through 64 prints Price: $10; 65 or older prints Price: $7.
hardNot startedSolve