| 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 printf statement to display the follow... | easy | ○ Not Started | Printing | Solve |
| 3 | Printf String VariableCreate a char array (string) with the value "Alice" and use printf with %s to di... | easy | ○ Not Started | Printing | Solve |
| 4 | Character OutputCreate a char variable with the value '#' and use printf with %c to display it i... | easy | ○ Not Started | Printing | Solve |
| 5 | Integer OutputCreate an int variable with the value 100 and use printf with %d to display it i... | easy | ○ Not Started | Printing | Solve |
| 6 | Multiple VariablesCreate a char array with the value "Sarah" and an int variable with the value 22... | easy | ○ Not Started | Printing | Solve |
| 7 | Float Two DecimalsCreate a float variable with the value 9.8765f. Use printf with %.2f to display ... | easy | ○ Not Started | Printing | Solve |
| 166 | Hello MessageUse printf to print exactly this text (no quotes, no trailing newline) (see Expe... | easy | ○ Not Started | Printing | Solve |
| 167 | Addition EquationUse printf with a format specifier to print this exact line, where the result is... | easy | ○ Not Started | Printing | Solve |
| 168 | Print Two LinesUse a single printf with a newline escape to print these two lines (see Expected... | easy | ○ Not Started | Printing | Solve |
| 169 | Tab Separated ValuesUse the tab escape sequence to print three numbers separated by tabs (see Expect... | easy | ○ Not Started | Printing | Solve |
| 170 | Percent Sign OutputIn a printf format string, a literal percent sign must be written as %%. Print t... | easy | ○ Not Started | Printing | Solve |
| 171 | Quotation MarksTo put a double quote inside a string, escape it with a backslash (\"). Print th... | easy | ○ Not Started | Printing | Solve |
| 172 | Backslash in a PathA backslash in a string must be written as \\ (two backslashes). Print this exac... | easy | ○ Not Started | Printing | Solve |
| 173 | Negative IntegerUse printf with %d to print a negative number (see Expected Output).... | easy | ○ Not Started | Printing | Solve |
| 174 | Multiplication EquationUse printf with a format specifier to print this exact line, computing the produ... | easy | ○ Not Started | Printing | Solve |
| 176 | Welcome BannerWrite a program that prints a single welcome message. Your job is to use printf ... | easy | ○ Not Started | Printing | Solve |
| 177 | Introduce YourselfTwo variables have already been created for you: a name (a string) and an age (a... | easy | ○ Not Started | Printing | Solve |
| 178 | Three Lines in a RowPrint the words Ready, Set, and Go! so that each appears on its own separate lin... | easy | ○ Not Started | Printing | Solve |
| 179 | Tab-Separated ColorsPrint the three color names Red, Green, and Blue on one line, separated by tab s... | easy | ○ Not Started | Printing | Solve |
| 180 | Print a TemperatureA double variable holding a temperature has been created for you. Print it using... | easy | ○ Not Started | Printing | Solve |
| 181 | Show a GradeA single character variable holding a letter grade has been created for you. Use... | easy | ○ Not Started | Printing | Solve |
| 182 | Count Two FruitsTwo integer variables have been created for you: a count of apples and a count o... | easy | ○ Not Started | Printing | Solve |
| 246 | Hexadecimal OutputThe integer `n = 255` is given. Print it in lowercase hexadecimal using `%x` (se... | easy | ○ Not Started | Printing | Solve |
| 247 | Octal OutputThe integer `n = 64` is given. Print it in octal (base 8) using `%o` (see Expect... | easy | ○ Not Started | Printing | Solve |
| 248 | Unsigned Integer OutputAn `unsigned int n = 4000000000` is given (a value too large for a signed `int`)... | easy | ○ Not Started | Printing | Solve |
| 249 | Long Integer OutputA `long n = 1234567890` is given. Print it using the `%ld` conversion (see Expec... | easy | ○ Not Started | Printing | Solve |
| 250 | Character from ASCII CodeAn ASCII code `code = 65` is given. Print the character it represents using `%c`... | easy | ○ Not Started | Printing | Solve |
| 251 | ASCII Value of a CharacterA character `ch = 'A'` is given. Print its numeric ASCII value using `%d` (see E... | easy | ○ Not Started | Printing | Solve |
| 252 | Print with putsUse the `puts` function to print the line shown in Expected Output.
Note: `puts... | easy | ○ Not Started | Printing | Solve |
| 253 | Print with putcharUse `putchar` to print the two characters `H` and `i` (with no newline) (see Exp... | easy | ○ Not Started | Printing | Solve |
| 254 | Dollar AmountA price `price = 49.99` is given. Print it as a dollar amount with two decimals ... | easy | ○ Not Started | Printing | Solve |
| 255 | Print Double Default PrecisionA value `x = 3.5` is given. Print it with the plain `%f` conversion, which defau... | easy | ○ Not Started | Printing | Solve |
| 256 | Leading Plus SignAn integer `n = 42` is given. Print it so a sign is always shown, even for posit... | easy | ○ Not Started | Printing | Solve |
| 257 | Hexadecimal with PrefixAn integer `n = 255` is given. Print it in hexadecimal including the `0x` prefix... | easy | ○ Not Started | Printing | Solve |
| 258 | Scientific NotationA value `x = 31400.0` is given. Print it in scientific notation using `%e` (see ... | easy | ○ Not Started | Printing | Solve |
| 8 | Mixed Escape SequencesUse one printf statement with both \n and \t to display the formatted text shown... | medium | ○ Not Started | Printing | Solve |
| 9 | Subtraction EquationCreate two integer variables with the values 15 and 8. Use one printf statement ... | 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 | Float Three DecimalsCreate a float variable with the value 12.34567f. Use printf with %.3f to displa... | 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 | Zero PaddingCreate four integer variables with the values 5, 42, 156, and 1003. Use printf t... | 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: char item[] = "Laptop", int quantity = 3, float price = 899.99... | medium | ○ Not Started | Printing | Solve |
| 175 | Right Aligned NumbersA field width in a format specifier right-aligns a value in a column. Using %5d ... | medium | ○ Not Started | Printing | Solve |
| 183 | Mini Receipt TableBuild a tiny two-row table using tabs to line up the columns. The first printf p... | medium | ○ Not Started | Printing | Solve |
| 184 | Quiz Score with PercentYou are given a subject name (a string) and a score (an integer). Print a senten... | medium | ○ Not Started | Printing | Solve |
| 185 | Draw a Little BoxPrint a small three-line box drawn with plus, dash, and pipe characters, with th... | medium | ○ Not Started | Printing | Solve |
| 259 | Left Aligned TextPrint the word `Hi` left-aligned in a field 8 characters wide, surrounded by `|`... | medium | ○ Not Started | Printing | Solve |
| 260 | Width and PrecisionA value `x = 3.14159` is given. Print it rounded to 2 decimals, right-aligned in... | medium | ○ Not Started | Printing | Solve |
| 261 | Average of Three IntegersThree integers `a = 3`, `b = 4`, `c = 6` are given. Print their average to 2 dec... | medium | ○ Not Started | Printing | Solve |
| 262 | Count from 1 to 5Using a loop, print the digits 1 through 5 with no spaces or newlines between th... | medium | ○ Not Started | Printing | Solve |
| 263 | Even Numbers to TenUsing a loop, print the even numbers from 2 to 10, separated by single spaces (s... | medium | ○ Not Started | Printing | Solve |
| 264 | Multiplication Table RowUsing a loop, print the first five multiples of 5, separated by single spaces (s... | medium | ○ Not Started | Printing | Solve |
| 265 | Countdown from FiveUsing a loop, print a countdown from 5 down to 1, separated by single spaces (se... | medium | ○ Not Started | Printing | Solve |
| 266 | Echo an IntegerRead one integer from standard input and print it back in this exact format (no ... | medium | ○ Not Started | Printing | Solve |
| 267 | Square of StarsUsing nested loops, print a 3x3 square of `*` characters. Each of the 3 rows has... | hard | ○ Not Started | Printing | Solve |
| 268 | Right Triangle of StarsUsing nested loops, print a right triangle of `*`. Row 1 has 1 star, row 2 has 2... | hard | ○ Not Started | Printing | Solve |
| 269 | Number TriangleUsing nested loops, print a number triangle. Row `r` prints the numbers 1 throug... | hard | ○ Not Started | Printing | Solve |
| 270 | Hollow BoxUsing nested loops, print a hollow rectangle that is 4 columns wide and 3 rows t... | hard | ○ Not Started | Printing | Solve |