Description:IntroductionThe first century spans from the year 1 up to and including the year 100, The second - from the year 101 up to and including t
Description:Create a function that takes an integer as an argument and returns "Even" for even numbers or "Odd" for odd numbers.const char \* even_or_
Description:Very simple, given a number, find its opposite.Examples:1: -114: -14\-34: 34
Description:In this simple assignment you are given a number and have to make it negative. But maybe the number is already negative?Example:makeNegati
Description:It's pretty straightforward. Your goal is to create a function that removes the first and last characters of a string. You're given one pa
Write a function called repeatStr which repeats the given string string exactly n times.repeatStr(6, "I") // "IIIIII"repeatStr(5, "Hello") // "HelloHe
Description:Complete the method that takes a boolean value and return a "Yes" string for true, or a "No" string for false.
Description:SummationWrite a program that finds the summation of every number from 1 to num. The number will always be a positive integer greater than
Description:Simple, remove the spaces from the string, then return the resultant string.For C, you must return a new dynamically allocated string.
Description:Given an array of integers your solution should find the smallest integer.For example:Given 34, 15, 88, 2 your solution will return 2Given
Description:We need a function that can transform a number into a string.What ways of achieving this do you know?In C, return a dynamically allocated
Description:Consider an array/list of sheep where some sheep may be missing from their place. We need a function that counts the number of sheep prese
Description:Complete the square sum function so that it squares each number passed into it and then sums the results together.For example, for 1, 2, 2
Description:Nathan loves cycling.Because Nathan knows it is important to stay hydrated, he drinks 0.5 litres of water per hour of cycling.You get give
Description:Create a function that checks if a number n is divisible by two numbers x AND y. All inputs are positive, non-zero digits.Examples:1) n =
Description:Your task is to create a function that does four basic mathematical operations.The function should take three arguments - operation(string
Description:Can you find the needle in the haystack?Write a function findNeedle() that takes an array full of junk but containing one "needle"After yo
Q. Description: Given an array of integers. Return an array, where the first element is the count of positives numbers and the second element is sum
Description:Given an array of integers, return a new array with each value doubled.For example:1, 2, 3 --> 2, 4, 6
Description:Given a set of numbers, return the additive inverse of each. Each positive becomes negatives, and the negatives become positives.invert(1,
Description:It's the academic year's end, fateful moment of your school report. The averages must be calculated. All the students come to you and entr
Description:Description:Make a simple function called greet that returns the most-famous "hello world!".Style PointsSure, this is about as easy as it
Description:Note: This kata is inspired by Convert a Number to a String!. Try that one too.DescriptionWe need a function that can transform a string i
Description:Clock shows h hours, m minutes and s seconds after midnight.Your task is to write a function which returns the time since midnight in mill
Description:Given a string of digits, you should replace any digit below 5 with '0' and any digit 5 and above with '1'. Return the resulting string.
Description:Sum all the numbers of the array (in F(The highest/lowest element is respectively only one element at each edge, even if there are more th
Description:Our football team finished the championship. The result of each match look like "x:y". Results of all matches are recorded in the collecti