Penka Kamenova

My first steps in programming

08/12/2012
by Penka Kamenova
0 comments

The greatest common divisor (GCD) ([C#] – Loops, task 8)

Write a program that calculates the greatest common divisor (GCD) of given two numbers. Use the Euclidean algorithm (find it in Internet).

07/12/2012
by Penka Kamenova
0 comments

Factorial ([C#] Loops – task 6)

Write a program that, for a given two integer numbers N and X, calculates the sum S = 1 + 1!/X + 2!/X2 + … + N!/XN