Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lab7 #535

Merged
merged 34 commits into from
Dec 21, 2024
Merged

Lab7 #535

Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
519b2b1
first
dusyaT Nov 4, 2024
a049e58
second
dusyaT Nov 4, 2024
3d8e5c1
Сделала 7 лабу
dusyaT Dec 18, 2024
d3b2ea8
Merge branch 'Titova_Darya' into lab7
dusyaT Dec 18, 2024
ab3c0c1
Update vegetables.go
dusyaT Dec 18, 2024
e701ab9
Update main.go
dusyaT Dec 18, 2024
53e7995
Update lab7.go
dusyaT Dec 18, 2024
8b32261
Update Clothes.go
dusyaT Dec 21, 2024
784e39d
Update Clothes.go
dusyaT Dec 21, 2024
6f9a385
Update book.go
dusyaT Dec 21, 2024
4633b6a
Update vegetables.go
dusyaT Dec 21, 2024
59469d6
Update lab7.go
dusyaT Dec 21, 2024
d783b9c
Delete golang/labs/lab7/product.go
dusyaT Dec 21, 2024
25c6c99
Update book.go
dusyaT Dec 21, 2024
e8335fa
Update lab7.go
dusyaT Dec 21, 2024
55d6b33
Update vegetables.go
dusyaT Dec 21, 2024
27a6737
Update lab7.go
dusyaT Dec 21, 2024
8b50596
Update book.go
dusyaT Dec 21, 2024
49aa82c
Update Clothes.go
dusyaT Dec 21, 2024
be0829f
Update lab7.go
dusyaT Dec 21, 2024
558bb0c
Update Clothes.go
dusyaT Dec 21, 2024
05eeaeb
Update book.go
dusyaT Dec 21, 2024
7346385
Update main.go
dusyaT Dec 21, 2024
3994c91
Update book.go
dusyaT Dec 21, 2024
b7c266e
Update lab7.go
dusyaT Dec 21, 2024
ef16fda
Update book.go
dusyaT Dec 21, 2024
2c0b429
Update main.go
dusyaT Dec 21, 2024
f43d5a3
Update book.go
dusyaT Dec 21, 2024
93a20b0
Update Clothes.go
dusyaT Dec 21, 2024
6a36419
Update vegetables.go
dusyaT Dec 21, 2024
ac25b69
Update main.go
dusyaT Dec 21, 2024
47f0893
Update lab7.go
dusyaT Dec 21, 2024
0b834bf
Update lab7.go
dusyaT Dec 21, 2024
4747d51
Update lab7.go
dusyaT Dec 21, 2024
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
Prev Previous commit
Next Next commit
Update lab7.go
dusyaT authored Dec 18, 2024
commit 53e79959485889d40dcb2b504574c97d8f162320
2 changes: 1 addition & 1 deletion golang/labs/lab7/lab7.go
Original file line number Diff line number Diff line change
@@ -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}