Loops and Functions exercises

Even or Odd?

Insert a lower and an upper limit of the INTEGER NUMBER INTERVAL and you will get a list of all numbers, with the label whether it is even or odd number.

Sum of N natural numbers.

Insert a NATURAL INTEGER NUMBER and you will get a sum of all natural numbers lower than the inserted number.

Factorial of a natural number.

Insert a NATURAL INTEGER NUMBER and you will get a factoriel of the inserted number.

Sum of a given range.

Insert a lower and an upper limit of the INTEGER NUMBER INTERVAL and you will get a sum of all numbers in that range.

How much can you buy?

Based on your inputs, amount of money in your pocket and a price of a product, you will get a number of products that you are able buy.