| Title | Open | |||
|---|---|---|---|---|
| 29 | Declare an IntDeclare an int variable named count with the value 10, then print it (see Expected Output). | easy | Not started | Solve |
| 30 | Declare a DoubleDeclare a double variable named pi with the value 3.14, then print it (see Expected Output). | easy | Not started | Solve |
| 31 | Declare a StringDeclare a string variable named word with the value "hello", then print it (see Expected Output). | easy | Not started | Solve |
| 32 | Declare a BoolDeclare a bool variable named isReady with the value true, then print it (C# prints it capitalized) (see Expected Output). | easy | Not started | Solve |
| 33 | Sum of Two Int VariablesTwo int variables a and b are given. | easy | Not started | Solve |
| 34 | Difference of Two VariablesTwo int variables are given. | easy | Not started | Solve |
| 35 | Product of Two VariablesTwo int variables are given. | easy | Not started | Solve |
| 36 | Use var for Type InferenceThe var keyword lets C# infer the type from the value. | easy | Not started | Solve |
| 37 | Declare a ConstantA const value cannot be changed after it is set. | easy | Not started | Solve |
| 38 | Integer DivisionWhen both operands are ints, / does integer division (it drops the fractional part). | easy | Not started | Solve |
| 39 | Remainder with ModuloThe % operator gives the remainder of a division. | easy | Not started | Solve |
| 40 | Double DivisionIf at least one operand is a double, / keeps the decimal part. | easy | Not started | Solve |
| 41 | Reassign a VariableDeclare an int with value 5, then reassign it to 10, then print it (see Expected Output). | easy | Not started | Solve |
| 42 | Increment a VariableThe ++ operator adds 1 to a variable. | easy | Not started | Solve |
| 43 | Compound AssignmentThe += operator adds a value to a variable. | easy | Not started | Solve |
| 44 | Average of Two NumbersTwo int variables are given. | easy | Not started | Solve |
| 237 | Your First IntegerEvery program keeps track of data using variables. | easy | Not started | Solve |
| 238 | Greeting with a StringString variables hold text. | easy | Not started | Solve |
| 239 | A Price with DecimalsThe double type stores numbers that can have a decimal point. | easy | Not started | Solve |
| 240 | True or FalseA bool variable holds one of two values: true or false. | easy | Not started | Solve |
| 241 | A Single CharacterThe char type stores exactly one character, written between single quotes. | easy | Not started | Solve |
| 242 | Adding Two NumbersVariables can be combined in calculations. | easy | Not started | Solve |
| 243 | Changing a ValueAfter you declare a variable you can change its value by assigning a new one, as long as the type stays the same. | easy | Not started | Solve |
| 342 | Declare a CharDeclare a char variable named letter with the value 'A', then print it (see Expected Output). | easy | Not started | Solve |
| 343 | Declare a LongDeclare a long variable named population with the value 8000000000 (too large for an int), then print it (see Expected Output). | easy | Not started | Solve |
| 344 | Declare a FloatDeclare a float variable named pi with the value 3.14f, then print it (see Expected Output). | easy | Not started | Solve |
| 345 | Declare a DecimalDeclare a decimal variable named price with the value 19.99m, then print it (see Expected Output). | easy | Not started | Solve |
| 346 | Declare a ByteDeclare a byte variable named level with the value 255 (the largest value a byte can hold), then print it (see Expected Output). | easy | Not started | Solve |
| 347 | Negate a BooleanA bool isOpen is set to true. | easy | Not started | Solve |
| 348 | ASCII Code to CharacterThe integer code = 66 is an ASCII value. | easy | Not started | Solve |
| 349 | Convert an Int to a StringDeclare int year = 2026. | easy | Not started | Solve |
| 350 | Decrement a VariableDeclare int lives = 3, then use the -- operator to decrease it by one and print the result (see Expected Output). | easy | Not started | Solve |
| 351 | Square a VariableDeclare int n = 6. | easy | Not started | Solve |
| 352 | Negate a NumberDeclare int n = 5. | easy | Not started | Solve |
| 353 | Area of a RectangleDeclare int width = 5 and int height = 3. | easy | Not started | Solve |
| 45 | Cast a Double to an IntCasting a double to an int with (int) drops the decimal part (it truncates, not rounds). | medium | Not started | Solve |
| 46 | Parse a String to an Intint.Parse converts a string of digits into an int. | medium | Not started | Solve |
| 47 | Divide Ints as DoublesTo get a decimal result from two ints, cast one to double first. | medium | Not started | Solve |
| 48 | Store a Boolean ExpressionA comparison can be stored in a bool variable. | medium | Not started | Solve |
| 49 | Swap Two VariablesSwap the values of two int variables using a temporary variable, then print them on one line separated by a space. | medium | Not started | Solve |
| 50 | Parse a String to a Doubledouble.Parse converts a decimal string to a double. | medium | Not started | Solve |
| 51 | Character to ASCII CodeCasting a char to an int gives its character code. | medium | Not started | Solve |
| 52 | Declare Several VariablesYou can declare several variables of the same type in one statement. | medium | Not started | Solve |
| 53 | Celsius to FahrenheitConvert a Celsius temperature to Fahrenheit using F = C 9 / 5 + 32. | medium | Not started | Solve |
| 244 | A Small ProfileReal programs often combine several different variable types in one message. | medium | Not started | Solve |
| 245 | Comparing for EqualityA boolean variable can store the result of a comparison. | medium | Not started | Solve |
| 246 | Building a Word from CharactersConsole.Write prints without moving to a new line, while Console.WriteLine adds a line break at the end. | medium | Not started | Solve |
| 354 | Fahrenheit to CelsiusDeclare double fahrenheit = 212. | medium | Not started | Solve |
| 355 | Last Digit of a NumberDeclare int number = 3742. | medium | Not started | Solve |
| 356 | Assign the Max with a TernaryDeclare int a = 7 and int b = 3. | medium | Not started | Solve |
| 357 | Compute a PercentageDeclare int score = 45 and int total = 60. | medium | Not started | Solve |
| 358 | Combine Conditions with ANDDeclare int age = 25 and bool hasTicket = true. | medium | Not started | Solve |
| 359 | Combine Conditions with ORDeclare bool isWeekend = false and bool isHoliday = true. | medium | Not started | Solve |
| 360 | Digit Character to NumberDeclare char digit = '7'. | medium | Not started | Solve |
| 361 | Minutes to Hours and MinutesDeclare int totalMinutes = 135. | medium | Not started | Solve |
| 362 | Apply a DiscountDeclare int price = 80 and int discountPercent = 25. | medium | Not started | Solve |
| 363 | Seconds to H:M:SDeclare int totalSeconds = 5025. | hard | Not started | Solve |
| 364 | Reverse a Three-Digit NumberDeclare int n = 123. | hard | Not started | Solve |
| 365 | Sum of Digits of a Three-Digit NumberDeclare int n = 384. | hard | Not started | Solve |
| 366 | Split Cents into Dollars and CentsDeclare int totalCents = 1234. | hard | Not started | Solve |