CJCoding With Joseph
TitleTopicsAction
1
Hello, C#!Use `Console.WriteLine` to print exactly this text: Hello, C#!...
easy○ Not Started
Printing
Solve
2
Print a Computed SumUse `Console.WriteLine` with string interpolation to print the line below, compu...
easy○ Not Started
Printing
Solve
3
Greet With InterpolationA `name` variable is given. Use string interpolation to print: Hi, Mia!...
easy○ Not Started
Printing
Solve
7
Print Two LinesUse two `Console.WriteLine` calls to print these two lines: First Second...
easy○ Not Started
Printing
Solve
8
Write Without a New Line`Console.Write` prints WITHOUT adding a new line (unlike `Console.WriteLine`). U...
easy○ Not Started
Printing
Solve
9
Print a NumberUse `Console.WriteLine` to print the number 42 (no quotes needed for a number): ...
easy○ Not Started
Printing
Solve
10
Print a CalculationUse `Console.WriteLine` to print the result of 7 times 6 (let C# compute it): 4...
easy○ Not Started
Printing
Solve
11
Print a Tab Between WordsUse the tab escape sequence `\t` to print these two words separated by a tab: N...
easy○ Not Started
Printing
Solve
12
Print Quotation MarksTo put a double quote inside a string, escape it with a backslash (`\"`). Print ...
easy○ Not Started
Printing
Solve
13
Print a File PathA backslash inside a string must be written as `\\`. Print this exact text: C:\...
easy○ Not Started
Printing
Solve
14
Print a Boolean ResultPrint the result of the comparison `10 > 7`. Note: in C#, a bool prints with a c...
easy○ Not Started
Printing
Solve
15
Print a CharacterA `char` holds a single character, written with single quotes. Create a char wit...
easy○ Not Started
Printing
Solve
16
Concatenate Two WordsThe `+` operator joins two strings. Print the result of joining "Foo" and "Bar":...
easy○ Not Started
Printing
Solve
17
Print a Decimal NumberUse `Console.WriteLine` to print the decimal number 2.5: 2.5...
easy○ Not Started
Printing
Solve
18
Print a Labeled ScoreA `score` variable is given. Use the `+` operator to print the score with a labe...
easy○ Not Started
Printing
Solve
19
Print a Multiplication SentenceUse string interpolation to print this exact line, computing the product (not ha...
easy○ Not Started
Printing
Solve
227
Print Three LinesPrint these three words, each on its own line: One Two Three Use a separate `C...
easy○ Not Started
Printing
Solve
228
Print a Blank Line Between WordsPrint `Top`, then an empty line, then `Bottom`, so the output is: Top Bottom ...
easy○ Not Started
Printing
Solve
229
Print a Word in UppercaseThe variable `word` holds `hello`. Print it in all capital letters: HELLO...
easy○ Not Started
Printing
Solve
230
Print a Word in LowercaseThe variable `word` holds `HELLO`. Print it in all lowercase letters: hello...
easy○ Not Started
Printing
Solve
231
Print the Length of a WordThe variable `word` holds `banana`. Print how many characters it contains: 6...
easy○ Not Started
Printing
Solve
232
Print a Horizontal LinePrint a horizontal line made of exactly 20 dash characters (`-`): -------------...
easy○ Not Started
Printing
Solve
233
Print a Repeated CharacterPrint a row of exactly 5 asterisks (`*`): *****...
easy○ Not Started
Printing
Solve
234
Print a Negative NumberDeclare an `int` named `temperature` with the value -42 and print it: -42...
easy○ Not Started
Printing
Solve
235
Print the First Letter of a WordThe variable `word` holds `Coding`. Print only its first character: C...
easy○ Not Started
Printing
Solve
236
Print Two Lines with One StatementUsing a single `Console.WriteLine` call, print two lines: Line 1 Line 2 Put th...
easy○ Not Started
Printing
Solve
237
Print on One Line with Two WritesUse `Console.Write` twice to put `Hello, ` and then `World` on the same line, th...
easy○ Not Started
Printing
Solve
238
Join a Word and a NumberThe variable `age` holds the number 25. Print the label and value joined togethe...
easy○ Not Started
Printing
Solve
239
Print the Sum of Three NumbersThree `int` variables `a`, `b`, and `c` hold 3, 5, and 7. Print their total: 15...
easy○ Not Started
Printing
Solve
20
Format to Two DecimalsA `price` of 19.5 is given. Print it with exactly two decimal places using the `...
medium○ Not Started
Printing
Solve
21
Round to Two DecimalsA value of 3.14159 is given. Print it rounded to two decimal places with `:F2`: ...
medium○ Not Started
Printing
Solve
22
Print a Currency AmountA `price` of 19.5 is given. Print it as a dollar amount with two decimals: $19....
medium○ Not Started
Printing
Solve
23
Build a Sentence from VariablesA `name` and an `age` are given. Use string interpolation to print: Mia is 20 y...
medium○ Not Started
Printing
Solve
24
Right-Align a NumberAn alignment value in an interpolation pads a value to a width. Print 42 right-a...
medium○ Not Started
Printing
Solve
25
Two-Line Label BlockUsing a SINGLE `Console.WriteLine` with a `\n` newline and interpolation, print ...
medium○ Not Started
Printing
Solve
26
Print Yes or No with a TernaryA bool `isOpen` is true. Use a ternary (`condition ? a : b`) inside the output t...
medium○ Not Started
Printing
Solve
27
Print the Larger of TwoTwo ints `a` and `b` are given. Use a ternary to print whichever is larger: 8...
medium○ Not Started
Printing
Solve
28
Print Division and RemainderUsing interpolation, print the integer quotient and remainder of 17 divided by 5...
medium○ Not Started
Printing
Solve
240
Print a Number in HexadecimalThe variable `n` holds 255. Print it in uppercase hexadecimal: FF Use the `X` ...
medium○ Not Started
Printing
Solve
241
Print a Number in BinaryThe variable `n` holds 10. Print its binary representation: 1010 Use `Convert....
medium○ Not Started
Printing
Solve
242
Pad a Number with Leading ZerosThe variable `n` holds 42. Print it padded with leading zeros to 5 digits: 0004...
medium○ Not Started
Printing
Solve
243
Print a Number with Thousands SeparatorsThe variable `n` holds 1000000. Print it with commas grouping the thousands: 1,...
medium○ Not Started
Printing
Solve
244
Print a Character from a CodeThe variable `code` holds 65. Convert it to the character with that numeric code...
medium○ Not Started
Printing
Solve
245
Print a Character's CodeThe variable `letter` holds the character `A`. Print its numeric character code:...
medium○ Not Started
Printing
Solve
246
Left-Align a Word in a FieldPrint the word `Hi` left-aligned in a field 8 characters wide, immediately follo...
medium○ Not Started
Printing
Solve
247
Interpolate with a Format SpecifierThe variable `price` holds the double 3.5. Using string interpolation, print it ...
medium○ Not Started
Printing
Solve
248
Read a Name and GreetRead one line of input containing a name, then print a greeting. For the input `...
medium○ Not Started
Printing
Solve
249
Print a Number with an Explicit Plus SignThe variable `n` holds the positive number 7. Print it with an explicit leading ...
hard○ Not Started
Printing
Solve
250
Print a Right-Aligned Two-Column RowPrint a single row with two columns: the label `Apples` left-aligned in a field ...
hard○ Not Started
Printing
Solve
251
Read Two Numbers and Print Their SumRead two lines of input, each containing an integer, then print their sum. For t...
hard○ Not Started
Printing
Solve