| Title | Open | |||
|---|---|---|---|---|
| 16 | Read Single IntegerWrite a program that reads a single integer from the user using scanf and prints it back with the message: You entered: [number] Use %d format specifier with scanf to read the integer, and make sure to use the & operator before the variable name in scanf. | easy | Not started | Solve |
| 17 | Read String with scanfWrite a program that reads a single word (string) from the user using scanf and prints: Hello, [name]! | easy | Not started | Solve |
| 18 | Read Two IntegersWrite a program that reads two integers from the user and displays their sum: Sum: [result] Use scanf once with two %d format specifiers to read both integers in a single call. | easy | Not started | Solve |
| 19 | Read Float InputWrite a program that reads a float value from the user and prints it with 2 decimal places: You entered: [number] Use %f format specifier with scanf to read the float, and %.2f with printf to display it with 2 decimal places. | easy | Not started | Solve |
| 20 | Read Character InputWrite a program that reads a single character from the user and prints: You pressed: [character] Use %c format specifier with scanf to read the character. | easy | Not started | Solve |
| 149 | Read and Double a NumberRead a single integer from input, then print double its value (the number times 2). | easy | Not started | Solve |
| 150 | Add Two Numbers from InputRead two integers from input (separated by a space) and print their sum. | easy | Not started | Solve |
| 151 | Multiply Two Numbers from InputRead two integers from input (separated by a space) and print their product. | easy | Not started | Solve |
| 152 | Subtract Two Numbers from InputRead two integers from input (separated by a space) and print the first minus the second. | easy | Not started | Solve |
| 153 | Square of an Input NumberRead a single integer and print its square (the number multiplied by itself). | easy | Not started | Solve |
| 154 | Increment an Input NumberRead a single integer and print the value that comes right after it (the number plus 1). | easy | Not started | Solve |
| 155 | Greet by NameRead a single word (a name) from input and print a greeting in this exact format: Hello, [name]! | easy | Not started | Solve |
| 156 | Sum of Three Numbers from InputRead three integers from input (separated by spaces) and print their sum. | easy | Not started | Solve |
| 157 | Half of an Input NumberRead a single integer and print half of it using integer division (the fractional part is dropped). | easy | Not started | Solve |
| 158 | Add Two Decimal NumbersRead two decimal (floating-point) numbers from input and print their sum rounded to exactly two decimal places. | easy | Not started | Solve |
| 159 | Negate an Input NumberRead a single integer and print its negation (flip the sign). | easy | Not started | Solve |
| 186 | Echo an IntegerWrite a program that reads a single whole number from standard input and prints it back exactly as it was entered, with nothing extra. | easy | Not started | Solve |
| 187 | Add Two IntegersRead two whole numbers from standard input, separated by a space, then print their sum. | easy | Not started | Solve |
| 188 | Read and Round a FloatRead one decimal number from standard input and print it back rounded to exactly two decimal places. | easy | Not started | Solve |
| 189 | Echo a CharacterRead a single character from standard input and print that same character back with nothing else. | easy | Not started | Solve |
| 190 | Greet by Name (Practice)Read a single word (a person's first name with no spaces) from standard input, then print a greeting in the exact form Hello, NAME! | easy | Not started | Solve |
| 191 | Multiply Two FloatsRead two decimal numbers separated by a space from standard input and print their product, rounded to exactly two decimal places. | easy | Not started | Solve |
| 192 | Square of a NumberRead a single whole number from standard input and print its square (the number multiplied by itself). | easy | Not started | Solve |
| 296 | Triple an Input NumberRead an integer n from standard input and print three times its value (n 3). | easy | Not started | Solve |
| 297 | Cube of an Input NumberRead an integer n from standard input and print its cube (n n n). | easy | Not started | Solve |
| 298 | Decrement an Input NumberRead an integer n from standard input and print the value one less than it (n - 1). | easy | Not started | Solve |
| 299 | Divide Two Numbers from InputRead two integers a and b from standard input (in that order) and print the result of integer division a / b. | easy | Not started | Solve |
| 300 | Remainder of Two Numbers from InputRead two integers a and b from standard input (in that order) and print the remainder of a divided by b using the modulo operator %. | easy | Not started | Solve |
| 301 | Product of Three Numbers from InputRead three integers a, b, and c from standard input (in that order) and print their product (a b c). | easy | Not started | Solve |
| 302 | Minimum of Two from InputRead two integers a and b from standard input (in that order) and print the smaller of the two. | easy | Not started | Solve |
| 303 | Convert Hours to Minutes from InputRead a whole number of hours from standard input and print how many minutes that is (each hour has 60 minutes). | easy | Not started | Solve |
| 304 | Convert Days to Hours from InputRead a whole number of days from standard input and print how many hours that is (each day has 24 hours). | easy | Not started | Solve |
| 305 | Kilograms to Grams from InputRead a whole number of kilograms from standard input and print how many grams that is (each kilogram has 1000 grams). | easy | Not started | Solve |
| 306 | Read Two Integers on Separate LinesRead two integers a and b from standard input (in that order) and print them back with a on the first line and b on the second line. | easy | Not started | Solve |
| 307 | ASCII Value of a CharacterRead a single character from standard input and print its ASCII code (its numeric value) as an integer. | easy | Not started | Solve |
| 308 | Read Integer and Print Absolute ValueRead an integer n from standard input and print its absolute value (drop any negative sign). | easy | Not started | Solve |
| 21 | Simple Calculator InputWrite a program that reads two float numbers from the user and displays all four basic operations: Addition: [result] Subtraction: [result] Multiplication: [result] Division: [result] All results should be displayed with 2 decimal places. | medium | Not started | Solve |
| 22 | Age Calculator InputWrite a program that reads a person's name (single word) and age, then calculates and displays their age in 10 years: Hello [name], in 10 years you will be [age] years old! | medium | Not started | Solve |
| 23 | Rectangle Area InputWrite a program that reads the length and width of a rectangle as floats and calculates the area: Area: [result] Display the area with 2 decimal places using %.2f. | medium | Not started | Solve |
| 160 | Sum from 1 to InputRead an integer N, then use a loop to add up all the integers from 1 to N and print the total. | medium | Not started | Solve |
| 161 | Even or Odd from InputRead a single integer and print 'Even' if it is even, or 'Odd' if it is odd. | medium | Not started | Solve |
| 162 | Maximum of Two from InputRead two integers from input and print the larger of the two. | medium | Not started | Solve |
| 163 | Average of Three from InputRead three integers from input and print their integer average (the sum divided by 3, dropping any remainder). | medium | Not started | Solve |
| 164 | Celsius to Fahrenheit from InputRead an integer Celsius temperature and print the Fahrenheit equivalent using F = C 9 / 5 + 32. | medium | Not started | Solve |
| 165 | Countdown from InputRead an integer N, then use a loop to print the numbers from N down to 1 on one line, separated by single spaces. | medium | Not started | Solve |
| 193 | Name and Age SentenceRead a person's first name (a single word) and their age (a whole number) from standard input, separated by a space, then print a sentence in the exact form NAME is AGE years old. | medium | Not started | Solve |
| 194 | Sum and Average of Three IntegersRead three whole numbers separated by spaces from standard input. | medium | Not started | Solve |
| 195 | Celsius to FahrenheitRead a temperature in degrees Celsius (a decimal number) from standard input and convert it to Fahrenheit using the formula F = C 9 / 5 + 32. | medium | Not started | Solve |
| 309 | Maximum of Three from InputRead three integers a, b, and c from standard input (in that order) and print the largest of the three. | medium | Not started | Solve |
| 310 | Minimum of Three from InputRead three integers a, b, and c from standard input (in that order) and print the smallest of the three. | medium | Not started | Solve |
| 311 | Quotient and Remainder from InputRead two integers a and b from standard input (in that order). | medium | Not started | Solve |
| 312 | Add Sales Tax to a PriceRead a price (a decimal number) from standard input, add 8% sales tax, and print the total rounded to exactly two decimal places. | medium | Not started | Solve |
| 313 | Circle Area from InputRead a circle's radius (a decimal number) from standard input and print its area rounded to two decimal places. | medium | Not started | Solve |
| 314 | Circle Circumference from InputRead a circle's radius (a decimal number) from standard input and print its circumference rounded to two decimal places. | medium | Not started | Solve |
| 315 | Positive, Negative, or Zero from InputRead an integer n from standard input. | medium | Not started | Solve |
| 316 | Divisible by 5 from InputRead an integer n from standard input. | medium | Not started | Solve |
| 317 | Fahrenheit to Celsius from InputRead a temperature in Fahrenheit (a decimal number) from standard input and print the equivalent Celsius temperature rounded to one decimal place. | medium | Not started | Solve |
| 318 | Factorial from InputRead a non-negative integer n from standard input and print n! | hard | Not started | Solve |
| 319 | Sum of Even Numbers up to InputRead an integer n from standard input and print the sum of all even numbers from 1 through n (inclusive). | hard | Not started | Solve |
| 320 | Multiplication Table from InputRead an integer n from standard input and print its multiplication table from 1 to 10. | hard | Not started | Solve |