From 53e79959485889d40dcb2b504574c97d8f162320 Mon Sep 17 00:00:00 2001 From: dusyaT Date: Wed, 18 Dec 2024 20:02:01 +0300 Subject: [PATCH] Update lab7.go --- golang/labs/lab7/lab7.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/golang/labs/lab7/lab7.go b/golang/labs/lab7/lab7.go index e3280566..ea70a990 100644 --- a/golang/labs/lab7/lab7.go +++ b/golang/labs/lab7/lab7.go @@ -4,7 +4,7 @@ import "fmt" func Start7lab() { product1 := &Clothes{Name: "Шорты", Price: 1000, Size: "S", Color: "White"} - product1.make_sale(500) + product1.make_sale(100) product2 := &Vegetables{Name: "Перец", Weight: 100, Price: 100} product2.make_sale(50) product3 := &Book{Name: "Алиса в стране чудес", Format: "бумажный", Price: 450}