[C#]Conditional Statements – 7

Write a program that finds the greatest of given 5 variables.

[C#] Console Input / Output – Falling Rocks

* Implement the “Falling Rocks” game in the text console. A small dwarf stays at the bottom of the screen and can move left and right (by the arrows keys). A number of rocks of different sizes and forms constantly fall down and you need to avoid a crash.Rocks are the symbols ^, @, *, &, +, %, $, #, !, ., ;, – distributed with appropriate density. The dwarf is (O). Ensure a constant game speed by Thread.Sleep(150).Implement collision detection and scoring system.

[C#]Console Input – Output – 10

Write a program to calculate the sum (with accuracy of 0.001): 1 + 1/2 – 1/3 + 1/4 – 1/5 + …

[C#]Console Input – Output – 7

Write a program that gets a number n and after that gets more n numbers and calculates and prints their sum.

[C#]Operators and Expressions – 9

Write an expression that checks for given point (x, y) if it is within the circle K( (1,1), 3) and out of the rectangle R(top=1, left=-1, width=6, height=2).