csharp_expressions_task.md - brainchildservices/curriculum GitHub Wiki

TITLE SLIDE

C# Expressions tasks

SLIDE-1

Q1: Write a program to calculate (a+b)2. Hint: (aa + bb + 2ab)

Q2: Write a program to calculate formulae πr^2.

Q3: Write a program to calculate area of triangle. Take required input from user and then calculate the area of triangle.

SLIDE-2

Q4: What is arthmetic operator? Give some example of such type of operators.

Q5: What is logical operator?

Q6: Define set operator and assignment operator.