C# Basics
Variables, loops, conditions
- Tasks
- 4
- Duration
- 8 weeks
- Language
- C#
Materials
Tasks
-
Hello, World!
10 pts
Print exactly the text
Hello, World!to the console. - Sum of two numbers 10 pts Two integers separated by a space are given on one line. Print their sum.
-
Area of a rectangle
10 pts
Two integers
aandbare given on one line. Print the area of the rectangle with sidesaandb. -
Even or odd
15 pts
Read one integer. Print
evenif it is even andoddif it is odd.