Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions CALC.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
namespace CourseApp
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Файл расположен не внутри проекта

{
public class Calc
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need additionally tests for this class

{
public int GetSum(int a, int b)
{
return a + b;
}

public double GetSum(double a, double b)
{
return a + b;
}

public int GetProduct(int a, int b)
{
return a * b;
}

public double GetQuotient(double a, double b)
{
return a / b;
}
}
}