| Title | Open | |||
|---|---|---|---|---|
| 16 | Read Single IntegerWrite a program that reads a single integer from the user using cin and prints it back with the message: You entered: [number] Use the >> operator with cin to read the integer input. | easy | Not started | Solve |
| 17 | Read String InputWrite a program that reads a single word (string) from the user using cin 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] You can read the inputs with two separate cin statements or chain them like: cin >> a >> b; | 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 cin to read the float, then cout with fixed and setprecision(2). | easy | Not started | Solve |
| 20 | Read Character InputWrite a program that reads a single character from the user and prints: You pressed: [character] Use cin >> to read the character. | easy | Not started | Solve |
| 263 | Read and Double a NumberRead a single integer from input, then print double its value (the number times 2). | easy | Not started | Solve |
| 264 | Add Two Numbers from InputRead two integers from input (separated by a space) and print their sum. | easy | Not started | Solve |
| 265 | Multiply Two Numbers from InputRead two integers from input (separated by a space) and print their product. | easy | Not started | Solve |
| 266 | Subtract Two Numbers from InputRead two integers from input (separated by a space) and print the first minus the second. | easy | Not started | Solve |
| 267 | Square of an Input NumberRead a single integer and print its square (the number multiplied by itself). | easy | Not started | Solve |
| 268 | Increment an Input NumberRead a single integer and print the value that comes right after it (the number plus 1). | easy | Not started | Solve |
| 269 | Greet by NameRead a single word (a name) from input and print a greeting in this exact format: Hello, [name]! | easy | Not started | Solve |
| 270 | Sum of Three Numbers from InputRead three integers from input (separated by spaces) and print their sum. | easy | Not started | Solve |
| 271 | 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 |
| 272 | 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 |
| 273 | Negate an Input NumberRead a single integer and print its negation (flip the sign). | easy | Not started | Solve |
| 344 | Product of Two DoublesRead two floating-point numbers from input and print their product with exactly 2 decimal places. | easy | Not started | Solve |
| 345 | Cube of an Input NumberRead a single integer from input and print its cube (the number multiplied by itself twice). | easy | Not started | Solve |
| 346 | Swap Two NumbersRead two integers a and b from input, swap their values using a temporary variable, then print them on one line separated by a single space (the swapped order). | easy | Not started | Solve |
| 349 | Absolute Value of InputRead a single integer from input and print its absolute value (the number without a negative sign). | easy | Not started | Solve |
| 350 | Fahrenheit to Celsius from InputRead a temperature in Fahrenheit (a floating-point number) from input and print the equivalent Celsius temperature with exactly 2 decimal places. | easy | Not started | Solve |
| 351 | Triple an Input NumberRead a single integer from input and print three times its value. | easy | Not started | Solve |
| 352 | Total Cost from Price and QuantityRead a floating-point unit price and an integer quantity from input, then print the total cost (price times quantity) with exactly 2 decimal places. | easy | Not started | Solve |
| 356 | Length of Input StringRead a single word (no spaces) from input and print how many characters it contains. | easy | Not started | Solve |
| 357 | Concatenate Two WordsRead two words from input and print them joined together with no space between them. | easy | Not started | Solve |
| 360 | Last Digit of a NumberRead a non-negative integer from input and print only its last digit. | easy | Not started | Solve |
| 362 | Kelvin to Celsius from InputRead a temperature in Kelvin (a floating-point number) from input and print the equivalent Celsius temperature with exactly 2 decimal places. | easy | Not started | Solve |
| 366 | Print Larger then SmallerRead two integers from input and print the larger one first, then the smaller one, on a single line separated by a space. | easy | Not started | Solve |
| 367 | Minimum of Two from InputRead two integers from input and print the smaller of the two. | easy | Not started | Solve |
| 21 | Read Full Line with getlineWrite a program that reads a full line of text (including spaces) from the user using getline and prints: You said: [text] Use getline(cin, variableName) to read the entire line including spaces. | medium | Not started | Solve |
| 22 | 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 using fixed and setprecision(2). | medium | Not started | Solve |
| 23 | 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 |
| 24 | 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 fixed and setprecision(2). | medium | Not started | Solve |
| 274 | 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 |
| 275 | 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 |
| 276 | Maximum of Two from InputRead two integers from input and print the larger of the two. | medium | Not started | Solve |
| 277 | Celsius to Fahrenheit from InputRead an integer Celsius temperature and print the Fahrenheit equivalent using F = C 9 / 5 + 32. | medium | Not started | Solve |
| 278 | 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 |
| 343 | Read Two Doubles and Print AverageRead two floating-point numbers from input (separated by a space or newline) and print their average with exactly 2 decimal places. | medium | Not started | Solve |
| 347 | Circle Area from RadiusRead a floating-point radius from input and print the area of the circle with exactly 2 decimal places. | medium | Not started | Solve |
| 348 | Quotient and RemainderRead two integers a and b from input. | medium | Not started | Solve |
| 354 | Multiplication Table of InputRead a single integer n from input and print its multiplication table from 1 to 5, one line per row, in this exact format. | medium | Not started | Solve |
| 355 | Factorial of Input NumberRead a non-negative integer n from input and print its factorial (the product of all integers from 1 to n). | medium | Not started | Solve |
| 359 | Convert Seconds to Minutes and SecondsRead a total number of seconds (an integer) from input and print how many whole minutes and leftover seconds it represents, in this exact format. | medium | Not started | Solve |
| 361 | Sum of Even Numbers up to NRead a positive integer n from input and print the sum of all even numbers from 1 to n inclusive. | medium | Not started | Solve |
| 363 | Compute Speed from Distance and TimeRead a distance and a time (both floating-point numbers) from input and print the speed (distance divided by time) with exactly 2 decimal places. | medium | Not started | Solve |
| 365 | Add Sales Tax to PriceRead a floating-point price from input and print the final price after adding 8% sales tax, with exactly 2 decimal places. | medium | Not started | Solve |
| 353 | Power of Two IntegersRead a base and an exponent (both non-negative integers) from input and print the base raised to that exponent. | hard | Not started | Solve |
| 358 | Reverse Digits of a NumberRead a positive integer from input and print the number formed by reversing its digits. | hard | Not started | Solve |
| 364 | Digit Sum of a NumberRead a positive integer from input and print the sum of its digits. | hard | Not started | Solve |