P
namespace LoopTasks
{
public static class LoopTasks
{
/// <summary>
/// Task 1
/// </summary>
public static int SumOfOddDigits(int n)
{
//this method should return the sum of the odd digits of n.
// TODO: delete code line below, write down your solution
throw new NotImplementedException();
}
/// <summary>
/// Task 2
/// </summary>
public static int NumberOfUnitsInBinaryRecord(int n)
{
//this method should return the number of units in the binary notation of n.
// TODO: delete code line below, write down your solution
throw new NotImplementedException();
}
/// <summary>
/// Task 3
/// </summary>
public static int SumOfFirstNFibonacciNumbers(int n)
{
//this method should return the sum of the first n Fibonacci numbers.
// TODO: delete code line below, write down your solution
throw new NotImplementedException();
}
}
}