This commit is contained in:
2026-03-10 16:27:53 +01:00
parent be6ca147f2
commit fd9be86bde
11 changed files with 132 additions and 1 deletions

View File

@@ -0,0 +1,8 @@
// pole kwadratu
int pole(int a) { return a * a; }
// pole prostokąta
int pole(int a, int b = 1) { return a * b; }
// kod jest problematyczny, ponieważ nazwy funkcji są niejasne: użytkownik nie ma
// łatwego sposobu, by zrozumieć co, która funkcja robi.