Skip to content

Commit

Permalink
Change task 2
Browse files Browse the repository at this point in the history
  • Loading branch information
KachalovM committed Sep 27, 2024
1 parent b6bdf60 commit fd109dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/tasks.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#ifndef INCLUDE_TASKS_H_
#define INCLUDE_TASKS_H_

double solveEarthAndRope(double earthRadius);
double solveEarthAndRope(double earthRadius, double addLength);
double solveSwimmingPool(double poolRadius, double walkwayWidth);

#endif // INCLUDE_TASKS_H_
4 changes: 2 additions & 2 deletions src/tasks.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// Copyright 2024 Kachalov Mikhail
#include "circle.h"
#include "tasks.h"
#include "circle.h"
#include <cmath>
#include <limits>
#include <limits>

double solveEarthAndRope(double earthRadius, double addLength) {
Circle earth(earthRadius);
Expand Down

0 comments on commit fd109dd

Please sign in to comment.