Skip to content

Commit

Permalink
planeStruct#3
Browse files Browse the repository at this point in the history
  • Loading branch information
Krovaldo committed Jan 19, 2024
1 parent d94d36b commit 5a7400c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions golang/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ func main() {
fmt.Println(internal.SolveA(1.1, 0.09, 1.2, 2.2, 0.2))
fmt.Println(internal.SolveB([]float64{4.48, 3.56, 2.78, 5.28, 3.21}))
// planeStruct Lab5
fmt.Println("\n First Plane: \n")
fmt.Printf("\n First Plane: \n")
plane1, err := plane.NewPlane("Космолёт", "Фиолетовый", 3124)
if err != nil {
fmt.Printf("%v", err)
Expand All @@ -25,7 +25,7 @@ func main() {
fmt.Println(plane1.GetSpeed())
plane1.SetSpeed(3400)
fmt.Println(plane1.GetSpeed())
fmt.Println("\n Second Plane: \n")
fmt.Printf("\n Second Plane: \n")
plane2, err := plane.NewPlane("Boeing 737", "Серый", 400)
if err != nil {
fmt.Printf("%v", err)
Expand Down

0 comments on commit 5a7400c

Please sign in to comment.