Running AverageGiven N numbers, read each one, calculate the running average and print it. For example, given the t...

SquaredGiven the length of a side of a square, calculate and print its area.

Making FriendsByang is going to join a new school. His new class has N students. Each of the students are identifi...

Missing NumberGiven the sum of four numbers and three of those numbers, find the missing number. All four numbers ...

Thought GameSadia is one of the nicest persons you will ever meet. In fact, she is one of those persons who like...

Running Average AgainGiven N numbers, read each one, calculate the running average and print it. For example, given the t...

Pie Are SquaredGiven the radius of a circle, calculate and print its area. The area of a circle can be computed usi...

Mixed FractionsGiven an improper fraction (as the numerator N and the denominator D), determine and print it in mix...

DivisorsRead an integer variable and print all of its divisors (including 1 and the number itself).

Fair DistributionMr. Forhad has X children. One day, on his way home, he bought Y chocolates for his children. He doe...

Exponential GrowthYou will be given two integers X and N, you have to calculate XN modulo 1000000007.

Leap YearsIn the Gregorian calendar, certain years have 366 days instead of 365. In such years, the month of F...

Proper Leap YearsByang’s friend was asked to author a programming problem where the challenge was to identify if the ...

Clock MathGiven a time (hours as H and minutes as M), determine the smaller angle between the two hands of a c...

Largest PrimeA positive integer number n is called a prime number, if it is only divisible by 1 and n itself, whe...

Math and WatermelonsYour friend has M watermelons. He doesn’t want to share them with anyone, but let’s imagine he would...

I Love 0Since childhood Abir loved to play with numbers, one day he was counting numbers from 1 to 100 and h...

Absolute ValueYou will be given an integer x. The absolute value of x will be within 100. You have to add 1 to x’s...

Who Gets the Money!?Who doesn’t get happy after getting money in the pockets of clothes before washing them? During this...

An Arithmetic ProblemA sequence is an arithmetic sequence if every two successive number has same difference. Suppose thi...
