| Title | Topics | Action | |||
|---|---|---|---|---|---|
| 99 | Function: Square a NumberComplete the function square so it returns its argument multiplied by itself. Th... | easy | ○ Not Started | Functions/Methods | Solve |
| 100 | Function: Cube a NumberComplete the function cube so it returns its argument raised to the third power.... | easy | ○ Not Started | Functions/Methods | Solve |
| 101 | Function: Add Two NumbersComplete the function add so it returns the sum of its two parameters. The main ... | easy | ○ Not Started | Functions/Methods | Solve |
| 102 | Function: Maximum of TwoComplete the function maxOf so it returns the larger of its two parameters. The ... | easy | ○ Not Started | Functions/Methods | Solve |
| 103 | Function: Minimum of TwoComplete the function minOf so it returns the smaller of its two parameters. The... | easy | ○ Not Started | Functions/Methods | Solve |
| 104 | Function: Absolute ValueComplete the function absValue so it returns the absolute value (magnitude) of i... | easy | ○ Not Started | Functions/Methods | Solve |
| 105 | Function: Is EvenComplete the function isEven so it returns 1 if its parameter is even and 0 if i... | easy | ○ Not Started | Functions/Methods | Solve |
| 106 | Function: Sum from 1 to NComplete the function sumTo so it returns the sum of all integers from 1 up to n... | easy | ○ Not Started | Functions/Methods | Solve |
| 107 | Function: FactorialComplete the function factorial so it returns n! (the product of all integers fr... | easy | ○ Not Started | Functions/Methods | Solve |
| 108 | Function: Celsius to FahrenheitComplete the function toFahrenheit so it converts a whole-number Celsius tempera... | easy | ○ Not Started | Functions/Methods | Solve |
| 109 | Function: Rectangle AreaComplete the function area so it returns the area of a rectangle (width times he... | easy | ○ Not Started | Functions/Methods | Solve |
| 110 | Function: PowerComplete the function power so it returns base raised to exp using a loop (do no... | easy | ○ Not Started | Functions/Methods | Solve |
| 111 | Function: Count DigitsComplete the function countDigits so it returns how many digits a positive integ... | easy | ○ Not Started | Functions/Methods | Solve |
| 112 | Function: Is PrimeComplete the function isPrime so it returns 1 if n is a prime number and 0 other... | easy | ○ Not Started | Functions/Methods | Solve |
| 113 | Function: Average of ThreeComplete the function average so it returns the integer average of its three par... | easy | ○ Not Started | Functions/Methods | Solve |
| 226 | Square a Number with a FunctionWrite a function named square that takes one integer parameter and returns that ... | easy | ○ Not Started | Functions/Methods | Solve |
| 227 | Add Two Numbers Using a FunctionDefine a function named add that takes two integer parameters and returns their ... | easy | ○ Not Started | Functions/Methods | Solve |
| 228 | Larger of Two Numbers (Drill)Write a function named maxOf that takes two integers and returns whichever one i... | easy | ○ Not Started | Functions/Methods | Solve |
| 229 | Even or Odd CheckerCreate a function named isEven that takes an integer and returns 1 if the number... | easy | ○ Not Started | Functions/Methods | Solve |
| 230 | Cube a NumberDefine a function named cube that takes an integer and returns the number multip... | easy | ○ Not Started | Functions/Methods | Solve |
| 231 | Absolute Value FunctionWrite a function named absValue that takes an integer and returns its absolute v... | easy | ○ Not Started | Functions/Methods | Solve |
| 232 | Rectangle Area FunctionCreate a function named area that takes two integers, a width and a height, and ... | easy | ○ Not Started | Functions/Methods | Solve |
| 346 | Function: Multiply Two NumbersWrite a function `multiply(int a, int b)` that returns the product of `a` and `b... | easy | ○ Not Started | Functions/Methods | Solve |
| 347 | Function: Subtract Two NumbersWrite a function `subtract(int a, int b)` that returns `a - b`. Call it with `20... | easy | ○ Not Started | Functions/Methods | Solve |
| 348 | Function: Is OddWrite a function `isOdd(int n)` that returns `1` when `n` is odd and `0` when it... | easy | ○ Not Started | Functions/Methods | Solve |
| 349 | Function: Double a NumberWrite a function `doubleValue(int n)` that returns `n` multiplied by 2. Call it ... | easy | ○ Not Started | Functions/Methods | Solve |
| 350 | Function: Circle AreaWrite a function `circleArea(double r)` that returns the area of a circle using ... | easy | ○ Not Started | Functions/Methods | Solve |
| 351 | Function: Fahrenheit to CelsiusWrite a function `toCelsius(double f)` that converts Fahrenheit to Celsius using... | easy | ○ Not Started | Functions/Methods | Solve |
| 352 | Function: Triangle AreaWrite a function `triangleArea(double base, double height)` that returns `0.5 * ... | easy | ○ Not Started | Functions/Methods | Solve |
| 353 | Function: Is VowelWrite a function `isVowel(char c)` that returns `1` if `c` is a lowercase vowel ... | easy | ○ Not Started | Functions/Methods | Solve |
| 354 | Function: To UppercaseWrite a function `toUpper(char c)` that converts a lowercase letter to uppercase... | easy | ○ Not Started | Functions/Methods | Solve |
| 355 | Function: Nth Triangular NumberWrite a function `triangular(int n)` that returns the nth triangular number usin... | easy | ○ Not Started | Functions/Methods | Solve |
| 356 | Function: Print a Line N TimesWrite a `void` function `printLines(int n)` that prints `Hi` on its own line `n`... | easy | ○ Not Started | Functions/Methods | Solve |
| 357 | Function: Is DivisibleWrite a function `isDivisible(int a, int b)` that returns `1` if `a` is evenly d... | easy | ○ Not Started | Functions/Methods | Solve |
| 358 | Function: Half a NumberWrite a function `half(double n)` that returns `n` divided by 2. Call it with `1... | easy | ○ Not Started | Functions/Methods | Solve |
| 114 | Function: Greatest Common DivisorComplete the function gcd so it returns the greatest common divisor of two posit... | medium | ○ Not Started | Functions/Methods | Solve |
| 115 | Function: Reverse a NumberComplete the function reverseNum so it returns the digits of a positive integer ... | medium | ○ Not Started | Functions/Methods | Solve |
| 116 | Function: Sum of DigitsComplete the function sumDigits so it returns the sum of the digits of a positiv... | medium | ○ Not Started | Functions/Methods | Solve |
| 117 | Function: Nth FibonacciComplete the function fib so it returns the nth Fibonacci number (1-indexed, whe... | medium | ○ Not Started | Functions/Methods | Solve |
| 118 | Function: Is Palindrome NumberComplete the function isPalindrome so it returns 1 if a positive integer reads t... | medium | ○ Not Started | Functions/Methods | Solve |
| 119 | Function: Count VowelsComplete the function countVowels so it returns how many lowercase vowels (a, e,... | medium | ○ Not Started | Functions/Methods | Solve |
| 120 | Function: Maximum of an ArrayComplete the function maxOfArray so it returns the largest value in an integer a... | medium | ○ Not Started | Functions/Methods | Solve |
| 233 | Factorial with a FunctionWrite a function named factorial that takes a non-negative integer n and returns... | medium | ○ Not Started | Functions/Methods | Solve |
| 234 | Prime Number CheckerWrite a function named isPrime that takes an integer and returns 1 if it is prim... | medium | ○ Not Started | Functions/Methods | Solve |
| 235 | Sum of Digits (Practice)Write a function named sumDigits that takes a non-negative integer and returns t... | medium | ○ Not Started | Functions/Methods | Solve |
| 359 | Function: Maximum of ThreeWrite a function `max3(int a, int b, int c)` that returns the largest of three i... | medium | ○ Not Started | Functions/Methods | Solve |
| 360 | Function: Minimum of ThreeWrite a function `min3(int a, int b, int c)` that returns the smallest of three ... | medium | ○ Not Started | Functions/Methods | Solve |
| 361 | Function: Sum of ArrayWrite a function `sumArray(int arr[], int n)` that returns the sum of the first ... | medium | ○ Not Started | Functions/Methods | Solve |
| 362 | Function: Average of ArrayWrite a function `average(int arr[], int n)` that returns the average of the `n`... | medium | ○ Not Started | Functions/Methods | Solve |
| 363 | Function: Count Even Numbers in ArrayWrite a function `countEven(int arr[], int n)` that returns how many of the firs... | medium | ○ Not Started | Functions/Methods | Solve |
| 364 | Function: Is Leap YearWrite a function `isLeap(int y)` that returns `1` if year `y` is a leap year, el... | medium | ○ Not Started | Functions/Methods | Solve |
| 365 | Function: Clamp a ValueWrite a function `clamp(int x, int lo, int hi)` that returns `lo` if `x` is belo... | medium | ○ Not Started | Functions/Methods | Solve |
| 366 | Function: Sum of Squares from 1 to NWrite a function `sumSquares(int n)` that returns 1^2 + 2^2 + ... + n^2. Call it... | medium | ○ Not Started | Functions/Methods | Solve |
| 367 | Function: Count Occurrences in ArrayWrite a function `countOccurrences(int arr[], int n, int target)` that returns h... | medium | ○ Not Started | Functions/Methods | Solve |
| 121 | Function: Recursive FactorialComplete the function factorial so it computes n! using RECURSION (no loops). Th... | hard | ○ Not Started | Functions/Methods | Solve |
| 122 | Function: Recursive Sum to NComplete the function sumTo so it returns the sum of all integers from 1 to n us... | hard | ○ Not Started | Functions/Methods | Solve |
| 123 | Function: Swap with PointersComplete the function swap so it exchanges the values of two integers using POIN... | hard | ○ Not Started | Functions/Methods | Solve |
| 368 | Function: Recursive PowerWrite a recursive function `power(int base, int exp)` that returns `base` raised... | hard | ○ Not Started | Functions/Methods | Solve |
| 369 | Function: Recursive GCDWrite a recursive function `gcd(int a, int b)` that returns the greatest common ... | hard | ○ Not Started | Functions/Methods | Solve |
| 370 | Function: Reverse a StringWrite a function `reverse(char *s)` that reverses the characters of the string `... | hard | ○ Not Started | Functions/Methods | Solve |