CJCoding With Joseph
TitleTopicsAction
1
Print Age VariableCreate an integer variable called age with the value 25, and use System.out.prin...
easy○ Not Started
Printing
Solve
4
Character PrintfCreate a variable char symbol = '*'; and use System.out.printf to display it in ...
easy○ Not Started
Printing
Solve
5
Integer PrintfCreate an integer variable with the value 45, and use System.out.printf to displ...
easy○ Not Started
Printing
Solve
6
Float FormattingCreate a float variable with the value 7.456. Use System.out.printf to print the...
easy○ Not Started
Printing
Solve
7
Addition EquationCreate two integer variables with the values 4 and 9. Use one System.out.printf ...
easy○ Not Started
Printing
Solve
8
Double PrecisionCreate a double variable with the value 12.34567. Use System.out.printf to displ...
easy○ Not Started
Printing
Solve
11
Print Three LinesUse System.out.println() three times to display these three lines of text: Line...
easy○ Not Started
Printing
Solve
12
Boolean Variable PrintCreate a boolean variable called `isJavaFun` with the value `true`. Use System.o...
easy○ Not Started
Printing
Solve
13
Multiple Prints Same LineUse three System.out.print() statements to display the following sentence on one...
easy○ Not Started
Printing
Solve
14
Print vs PrintlnUse System.out.print() twice to display the following text on the same line: Ja...
easy○ Not Started
Printing
Solve
15
String Variable PrintfCreate a String variable with the value "Alice" and use System.out.printf() to d...
easy○ Not Started
Printing
Solve
16
Multiple Prints Same LineUse three System.out.print() statements to display the following sentence on one...
easy○ Not Started
Printing
Solve
17
Character DeclarationCreate a char variable with the value '#' and use System.out.println() to displa...
easy○ Not Started
Printing
Solve
18
Simple Integer OutputCreate an int variable with the value 100 and use System.out.println() to displa...
easy○ Not Started
Printing
Solve
190
Print Product with Clear LabelCreate two integer variables: `price = 12` and `quantity = 4`. Then calculate th...
easy○ Not Started
Printing
Solve
261
Multiplication EquationUse System.out.println to print this exact line, where the product is computed (...
easy○ Not Started
Printing
Solve
262
Division EquationUse System.out.println to print this exact line, where the quotient is computed ...
easy○ Not Started
Printing
Solve
263
Hello World OutputUse `System.out.println()` to print exactly this line: Hello, World! Match the...
easy○ Not Started
Printing
Solve
264
Tab Between WordsPrint the two words `Left` and `Right` on one line separated by a single TAB cha...
easy○ Not Started
Printing
Solve
265
Print Double QuotesPrint a sentence that itself contains double quotes, using the `\"` escape seque...
easy○ Not Started
Printing
Solve
266
Print a Backslash PathPrint a Windows file path that contains backslashes, using the `\\` escape seque...
easy○ Not Started
Printing
Solve
267
Print Without a NewlineUse `System.out.print()` (NOT `println`) twice to print `Sun` and `flower` on th...
easy○ Not Started
Printing
Solve
268
Join Two String VariablesCreate two String variables `first` set to "John" and `last` set to "Doe", then ...
easy○ Not Started
Printing
Solve
269
Print a Char VariableDeclare a `char` variable named `grade` holding the letter `A`, then print it wi...
easy○ Not Started
Printing
Solve
270
Print a Long VariableDeclare a `long` variable named `population` with the value 7800000000 (use the ...
easy○ Not Started
Printing
Solve
271
Print a Comparison ResultPrint the boolean result of the comparison `5 > 3` directly (do NOT type the wor...
easy○ Not Started
Printing
Solve
272
Sum of Two VariablesCreate two `int` variables `a` = 7 and `b` = 8, then print their sum after a lab...
easy○ Not Started
Printing
Solve
273
Char from ASCII CodeConvert the integer 65 into its character by casting it to `char`, then print it...
easy○ Not Started
Printing
Solve
274
Newline Inside a StringUsing a SINGLE `System.out.println()` call, print two lines by placing a `\n` in...
easy○ Not Started
Printing
Solve
275
Blank Line Between WordsPrint `Start`, then a completely blank line, then `End`, producing exactly: Sta...
easy○ Not Started
Printing
Solve
9
Zero PaddingCreate three integer variables with the values 7, 45, and 123. Print each of the...
medium○ Not Started
Printing
Solve
10
String AlignmentCreate three string variables with the names "Alice", "Bob", and "Charlie". Prin...
medium○ Not Started
Printing
Solve
19
Name and AgeCreate a String variable with the value "Sarah" and an int variable with the val...
medium○ Not Started
Printing
Solve
20
Float Three DecimalsCreate a float variable with the value 9.8765f. Use System.out.printf() to displ...
medium○ Not Started
Printing
Solve
21
Mixed Escape SequencesUse one System.out.println() statement with both \n and \t to display the follow...
medium○ Not Started
Printing
Solve
22
Subtraction EquationCreate two integer variables with the values 15 and 8. Use one System.out.printf...
medium○ Not Started
Printing
Solve
23
Product with FloatCreate an int variable with the value 5 and a float variable with the value 2.5f...
medium○ Not Started
Printing
Solve
24
Receipt FormattingCreate three float variables: price1 = 12.99f, price2 = 8.50f, and price3 = 15.2...
medium○ Not Started
Printing
Solve
25
Complex Mixed FormatCreate variables: String item = "Laptop", int quantity = 3, float price = 899.99...
medium○ Not Started
Printing
Solve
276
Percent Sign in PrintfUse `System.out.printf` to print a score with a literal percent sign. Inside a f...
medium○ Not Started
Printing
Solve
277
Hexadecimal OutputUse `System.out.printf` with the `%x` conversion to print the number 255 in lowe...
medium○ Not Started
Printing
Solve
278
Left Justify TextUse `System.out.printf` with the `%-10s` specifier to left-justify the word `Hi`...
medium○ Not Started
Printing
Solve
279
Multiple Values in PrintfUse a single `System.out.printf` with two placeholders to combine a name and a s...
medium○ Not Started
Printing
Solve
280
Greet the UserRead one line of input (a name) with a `Scanner`, then print a greeting. If the ...
medium○ Not Started
Printing
Solve
281
Add Two Input NumbersRead two integers from input using a `Scanner` and print their sum on its own li...
medium○ Not Started
Printing
Solve
282
ASCII Value of a CharacterDeclare a `char` variable `c` holding the letter `A`, then print its numeric ASC...
medium○ Not Started
Printing
Solve
283
Force a Plus SignUse `System.out.printf` with the `%+d` specifier so that positive numbers show a...
medium○ Not Started
Printing
Solve
284
Boolean with PrintfUse `System.out.printf` with the `%b` conversion to print a boolean value after ...
medium○ Not Started
Printing
Solve
285
Scientific NotationUse `System.out.printf` with the `%e` conversion to print the double 12345.678 i...
hard○ Not Started
Printing
Solve
286
Decimal, Hex, and OctalUsing a single `System.out.printf`, print the number 255 in three bases separate...
hard○ Not Started
Printing
Solve
287
Star TrianglePrint a left-aligned triangle of asterisks that grows from 1 to 3 stars, one row...
hard○ Not Started
Printing
Solve