| Title | Topics | Action | |||
|---|---|---|---|---|---|
| 1 | Age VariableUsing an integer, create a variable to hold your age (use any age value you'd li... | easy | ○ Not Started | Printing | Solve |
| 2 | New Line CharacterUse the newline escape sequence \n in one cout statement to display the followin... | easy | ○ Not Started | Printing | Solve |
| 3 | String OutputCreate a string variable with the value "Alice" and use cout to display it in th... | easy | ○ Not Started | Printing | Solve |
| 4 | Character OutputCreate a char variable with the value '#' and use cout to display it in the sent... | easy | ○ Not Started | Printing | Solve |
| 5 | Integer OutputCreate an int variable with the value 100 and use cout to display it in the sent... | easy | ○ Not Started | Printing | Solve |
| 6 | Multiple VariablesCreate a string variable with the value "Sarah" and an int variable with the val... | easy | ○ Not Started | Printing | Solve |
| 7 | Float PrecisionCreate a float variable with the value 9.8765f. Use cout with fixed and setpreci... | easy | ○ Not Started | Printing | Solve |
| 279 | Hello MessageUse cout to print exactly this text (no quotes, no trailing newline):
Hello, Wo... | easy | ○ Not Started | Printing | Solve |
| 280 | Addition EquationPrint this exact line, where the result is computed (not typed literally):
7 + ... | easy | ○ Not Started | Printing | Solve |
| 281 | Print Two LinesUse a newline escape to print these two lines:
Line one
Line two... | easy | ○ Not Started | Printing | Solve |
| 282 | Tab Separated ValuesUse the tab escape sequence to print three numbers separated by tabs:
1 2 3
(E... | easy | ○ Not Started | Printing | Solve |
| 283 | Quotation MarksTo put a double quote inside a string, escape it with a backslash (\"). Print th... | easy | ○ Not Started | Printing | Solve |
| 284 | Backslash in a PathA backslash in a string must be written as \\ (two backslashes). Print this exac... | easy | ○ Not Started | Printing | Solve |
| 285 | Negative IntegerUse cout to print a negative number:
-42... | easy | ○ Not Started | Printing | Solve |
| 286 | Multiplication EquationPrint this exact line, computing the product (not typing it literally):
6 x 7 =... | easy | ○ Not Started | Printing | Solve |
| 287 | Concatenated OutputYou can chain several values onto one cout statement with multiple << operators.... | easy | ○ Not Started | Printing | Solve |
| 293 | Division EquationTwo integers `a = 20` and `b = 4` are given. Print the full division equation on... | easy | ○ Not Started | Printing | Solve |
| 294 | ASCII Code of a CharacterA `char letter = 'A'` is given. Print its numeric ASCII code:
65
Cast the char... | easy | ○ Not Started | Printing | Solve |
| 295 | Character from ASCII CodeAn `int code = 66` is given. Print the character that has that ASCII code:
B
C... | easy | ○ Not Started | Printing | Solve |
| 296 | Print a PercentageAn `int score = 85` is given. Print the number immediately followed by a percent... | easy | ○ Not Started | Printing | Solve |
| 297 | Currency FormatA `double price = 19.99` is given. Print it as a dollar amount with exactly 2 de... | easy | ○ Not Started | Printing | Solve |
| 298 | Modulo RemainderTwo integers `a = 17` and `b = 5` are given. Print the remainder equation using ... | easy | ○ Not Started | Printing | Solve |
| 299 | Print a FractionTwo integers `num = 3` and `den = 4` are given. Print them as a fraction with a ... | easy | ○ Not Started | Printing | Solve |
| 300 | Print an ApostrophePrint the following text, which contains an apostrophe, exactly as shown:
It's ... | easy | ○ Not Started | Printing | Solve |
| 301 | Read and Echo an IntegerRead one integer from standard input using `cin`, then print it back on its own ... | easy | ○ Not Started | Printing | Solve |
| 302 | Read and Print a NameRead a single-word name from standard input with `cin`, then print a greeting. F... | easy | ○ Not Started | Printing | Solve |
| 303 | Print Pi to Five DecimalsA `double pi = 3.14159265` is given. Print it with exactly 5 decimal places:
3.... | easy | ○ Not Started | Printing | Solve |
| 304 | Square of a NumberAn `int n = 7` is given. Print a sentence containing its square, computed as `n ... | easy | ○ Not Started | Printing | Solve |
| 8 | Mixed Escape SequencesUse one cout statement with both \n and \t to display the following formatted te... | medium | ○ Not Started | Printing | Solve |
| 9 | Subtraction EquationCreate two integer variables with the values 15 and 8. Use one cout statement to... | medium | ○ Not Started | Printing | Solve |
| 10 | Product with FloatCreate an int variable with the value 5 and a float variable with the value 2.5f... | medium | ○ Not Started | Printing | Solve |
| 11 | Three Decimal PlacesCreate a float variable with the value 12.34567f. Use cout with fixed and setpre... | medium | ○ Not Started | Printing | Solve |
| 12 | Receipt FormattingCreate three float variables: price1 = 12.99f, price2 = 8.50f, and price3 = 15.2... | medium | ○ Not Started | Printing | Solve |
| 13 | Field Width PaddingCreate four integer variables with the values 5, 42, 156, and 1003. Use cout wit... | medium | ○ Not Started | Printing | Solve |
| 14 | Temperature ConversionCreate a float variable for Fahrenheit temperature with the value 98.6f. Convert... | medium | ○ Not Started | Printing | Solve |
| 15 | Complex Product DisplayCreate variables: string item = "Laptop", int quantity = 3, float price = 899.99... | medium | ○ Not Started | Printing | Solve |
| 288 | Print a Boolean as TextBy default cout prints a boolean as 1 or 0. The boolalpha manipulator makes it p... | medium | ○ Not Started | Printing | Solve |
| 305 | Sum of Two InputsRead two integers from standard input, then print their sum on one line. For exa... | medium | ○ Not Started | Printing | Solve |
| 306 | Average of Two NumbersTwo grades `double a = 90` and `double b = 85` are given. Print their average wi... | medium | ○ Not Started | Printing | Solve |
| 307 | Left-Aligned TextPrint the word `Cat` left-aligned in a field 10 characters wide, then a `|` to m... | medium | ○ Not Started | Printing | Solve |
| 308 | Leading ZerosAn `int n = 42` is given. Print it padded with leading zeros to a width of 5:
0... | medium | ○ Not Started | Printing | Solve |
| 309 | Hexadecimal OutputAn `int n = 255` is given. Print it in lowercase hexadecimal:
ff
Use the `hex`... | medium | ○ Not Started | Printing | Solve |
| 310 | Octal OutputAn `int n = 64` is given. Print it in octal (base 8):
100
Use the `oct` stream... | medium | ○ Not Started | Printing | Solve |
| 311 | Uppercase HexadecimalAn `int n = 255` is given. Print it in UPPERCASE hexadecimal:
FF
Combine the `... | medium | ○ Not Started | Printing | Solve |
| 312 | Show Positive SignAn `int n = 42` is given. Print it with an explicit leading plus sign:
+42
Use... | medium | ○ Not Started | Printing | Solve |
| 313 | Rounded to Whole NumberA `double x = 3.7` is given. Print it rounded to a whole number with no decimal ... | medium | ○ Not Started | Printing | Solve |
| 314 | Scientific NotationA `double x = 12345.678` is given. Print it in scientific notation with exactly ... | hard | ○ Not Started | Printing | Solve |
| 315 | Formatted Table RowPrint one table row: the name `Apple` left-aligned in a 10-wide field, followed ... | hard | ○ Not Started | Printing | Solve |
| 316 | Number in Three BasesAn `int n = 255` is given. Print it in decimal, hexadecimal, and octal on one li... | hard | ○ Not Started | Printing | Solve |
| 317 | Right-Aligned Price ColumnThree prices `5.5`, `12.25`, and `100.0` are given. Print each on its own line, ... | hard | ○ Not Started | Printing | Solve |