| Title | Open | |||
|---|---|---|---|---|
| 129 | Square MethodComplete the static method Square so it returns its parameter multiplied by itself. | easy | Not started | Solve |
| 130 | Cube MethodComplete the static method Cube so it returns its parameter to the third power. | easy | Not started | Solve |
| 131 | Add MethodComplete the static method Add so it returns the sum of its two parameters. | easy | Not started | Solve |
| 132 | Subtract MethodComplete the static method Subtract so it returns the first parameter minus the second. | easy | Not started | Solve |
| 133 | Max MethodComplete the static method Max so it returns the larger of its two parameters. | easy | Not started | Solve |
| 134 | Min MethodComplete the static method Min so it returns the smaller of its two parameters. | easy | Not started | Solve |
| 135 | Is Even MethodComplete the static method IsEven so it returns true when its parameter is even, false otherwise. | easy | Not started | Solve |
| 136 | Greeting Method (void)Complete the static method Greet so it PRINTS 'Hello, [name]!' on its own line. | easy | Not started | Solve |
| 137 | Absolute Value MethodComplete the static method AbsValue so it returns the absolute value of its parameter WITHOUT using Math.Abs. | easy | Not started | Solve |
| 138 | Sum To N MethodComplete the static method SumTo so it returns the sum of all integers from 1 to n using a loop. | easy | Not started | Solve |
| 139 | Double It MethodComplete the static method DoubleIt so it returns its parameter times 2. | easy | Not started | Solve |
| 140 | Is Positive MethodComplete the static method IsPositive so it returns true when its parameter is greater than 0, false otherwise (0 is not positive). | easy | Not started | Solve |
| 141 | Average of Two MethodComplete the static method Average so it returns the integer average of its two parameters. | easy | Not started | Solve |
| 142 | To Fahrenheit MethodComplete the static method ToFahrenheit so it converts a Celsius value to Fahrenheit using F = C 9 / 5 + 32. | easy | Not started | Solve |
| 143 | Factorial MethodComplete the static method Factorial so it returns n! | easy | Not started | Solve |
| 144 | Sum of Three MethodComplete the static method SumThree so it returns the sum of its three parameters. | easy | Not started | Solve |
| 277 | Square a NumberCreate a class named MathUtil with a public static method Square that takes one integer parameter n and returns n multiplied by itself. | easy | Not started | Solve |
| 278 | Add Two Numbers (Practice)Create a class named Calculator with a public static method Add that accepts two integer parameters, a and b, and returns their sum. | easy | Not started | Solve |
| 279 | Larger of Two Numbers (Practice)Create a class named NumberUtil with a public static method Max that takes two integers, a and b, and returns whichever one is larger. | easy | Not started | Solve |
| 280 | Check if a Number Is EvenCreate a class named NumberChecker with a public static method IsEven that takes one integer n and returns a bool: true when n is even and false when n is odd. | easy | Not started | Solve |
| 281 | Build a GreetingCreate a class named Greeter with a public static method Greet that takes a string name and returns a greeting in the form "Hello, NAME!" (a comma and space after Hello, then the name, then an exclamation mark). | easy | Not started | Solve |
| 282 | Cube a NumberCreate a class named PowerUtil with a public static method Cube that takes one integer n and returns n raised to the third power (n multiplied by itself three times). | easy | Not started | Solve |
| 283 | Absolute ValueCreate a class named MathHelper with a public static method Abs that takes one integer n and returns its absolute value: the number without its sign. | easy | Not started | Solve |
| 442 | Is Odd MethodComplete the static method IsOdd so it returns true when its parameter is an odd number and false otherwise. | easy | Not started | Solve |
| 443 | Multiply MethodComplete the static method Multiply so it returns the product of its two parameters a and b. | easy | Not started | Solve |
| 444 | Negate MethodComplete the static method Negate so it returns the parameter with its sign flipped: positive becomes negative and negative becomes positive. | easy | Not started | Solve |
| 445 | Triple MethodComplete the static method Triple so it returns its parameter multiplied by three. | easy | Not started | Solve |
| 446 | Increment MethodComplete the static method Increment so it returns one more than its parameter. | easy | Not started | Solve |
| 447 | Last Digit MethodComplete the static method LastDigit so it returns the last digit of a non-negative integer. | easy | Not started | Solve |
| 448 | Rectangle Perimeter MethodComplete the static method Perimeter so it returns the perimeter of a rectangle given its width and height. | easy | Not started | Solve |
| 449 | Shout MethodComplete the static method Shout so it returns its string parameter converted to UPPERCASE. | easy | Not started | Solve |
| 450 | Square Root MethodComplete the static method SquareRoot so it returns the square root of its parameter as a double. | easy | Not started | Solve |
| 451 | To Celsius MethodComplete the static method ToCelsius so it converts a Fahrenheit temperature to Celsius using the formula (f - 32) 5 / 9 and returns it as a double. | easy | Not started | Solve |
| 452 | Half It MethodComplete the static method HalfIt so it returns half of its integer parameter as a double (so odd numbers keep their .5). | easy | Not started | Solve |
| 453 | Percentage MethodComplete the static method PercentOf so it returns what percent part is of whole, using the formula part / whole 100, as a double. | easy | Not started | Solve |
| 454 | Full Name MethodComplete the static method FullName so it joins a first and last name with a single space between them and returns the result. | easy | Not started | Solve |
| 145 | Overloaded Area MethodsMethod overloading means two methods can share a name if their parameters differ. | medium | Not started | Solve |
| 146 | Power MethodComplete the static method Power so it returns base raised to exp using a loop (no Math.Pow). | medium | Not started | Solve |
| 147 | Count Digits MethodComplete the static method CountDigits so it returns how many digits a positive integer has. | medium | Not started | Solve |
| 148 | Greatest Common DivisorComplete the static method Gcd so it returns the greatest common divisor of a and b using the Euclidean algorithm (repeatedly replace (a, b) with (b, a % b) until b is 0). | medium | Not started | Solve |
| 149 | Repeat String MethodComplete the static method Repeat so it returns the given text repeated n times. | medium | Not started | Solve |
| 150 | Reverse a Number MethodComplete the static method Reverse so it returns a positive integer with its digits reversed (leading zeros disappear). | medium | Not started | Solve |
| 284 | Sum From 1 to N (Practice)Create a class named SumUtil with a public static method SumTo that takes one integer n and returns the sum of all whole numbers from 1 up to and including n. | medium | Not started | Solve |
| 285 | Factorial of a NumberCreate a class named FactorialUtil with a public static method Factorial that takes one integer n and returns n! | medium | Not started | Solve |
| 286 | Check if a Number Is PrimeCreate a class named PrimeChecker with a public static method IsPrime that takes one integer n and returns a bool telling whether n is a prime number. | medium | Not started | Solve |
| 455 | Is Prime MethodWrite the static method IsPrime so it returns true when its parameter is a prime number and false otherwise. | medium | Not started | Solve |
| 456 | Count Vowels MethodWrite the static method CountVowels so it returns how many vowels (a, e, i, o, u, in either case) appear in its string parameter. | medium | Not started | Solve |
| 457 | Params Sum MethodWrite the static method Sum using a params int[] parameter so it can accept any number of integer arguments and return their total. | medium | Not started | Solve |
| 458 | Swap With Ref MethodWrite the void static method Swap using two ref int parameters so it exchanges the values of the two variables passed to it. | medium | Not started | Solve |
| 459 | Divide With Remainder MethodWrite the static method DivMod so it returns the quotient of a divided by b and, through an out int remainder parameter, also reports the remainder. | medium | Not started | Solve |
| 460 | Grade Letter MethodWrite the static method Grade so it returns a letter grade for a numeric score: 90 or above is "A", 80-89 is "B", 70-79 is "C", 60-69 is "D", and anything below 60 is "F". | medium | Not started | Solve |
| 461 | Sign MethodWrite the static method Sign so it returns 1 when its parameter is positive, -1 when it is negative, and 0 when it is zero. | medium | Not started | Solve |
| 462 | Is Leap Year MethodWrite the static method IsLeapYear so it returns true when the given year is a leap year. | medium | Not started | Solve |
| 463 | Clamp MethodWrite the static method Clamp so it forces value to stay within an inclusive range: if value is below min it returns min, if it is above max it returns max, otherwise it returns value unchanged. | medium | Not started | Solve |
| 151 | Recursive FactorialComplete the static method Factorial so it returns n! | hard | Not started | Solve |
| 152 | Recursive Sum of DigitsComplete the static method SumDigits so it returns the sum of the digits of a non-negative integer using RECURSION. | hard | Not started | Solve |
| 153 | Recursive FibonacciComplete the static method Fib so it returns the nth Fibonacci number using RECURSION, where Fib(0) = 0, Fib(1) = 1, and each later value is the sum of the previous two. | hard | Not started | Solve |
| 464 | Recursive Power MethodWrite the static method Power so it computes baseNum raised to the power exp using RECURSION (no loops). | hard | Not started | Solve |
| 465 | Recursive GCD MethodWrite the static method Gcd so it returns the greatest common divisor of two non-negative integers using the recursive Euclidean algorithm: when b is 0 the answer is a, otherwise the answer is Gcd(b, a % b). | hard | Not started | Solve |
| 466 | Recursive Reverse String MethodWrite the static method Reverse so it returns its string parameter reversed, using RECURSION (no loops). | hard | Not started | Solve |