From c139c282f8b30b87ec366793f010c373d8ffaea5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=81=A3?= <⁣> Date: Fri, 29 May 2020 19:29:06 +0200 Subject: [PATCH] Simplify subject (bc tester limitations) --- subjects/pilot.en.md | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/subjects/pilot.en.md b/subjects/pilot.en.md index 9bcca938..332bd41a 100644 --- a/subjects/pilot.en.md +++ b/subjects/pilot.en.md @@ -2,31 +2,24 @@ ### Instructions -Write a `go` file so that the following program compiles. - -### Note: - -- The code bellow must be submitted. - -- Be careful with the expected files. +Append to the code below what's needed so that the program compiles. ### Usage ```go package main -import ( - "fmt" - student ".." -) +import "fmt" func main() { - var donnie student.Pilot + var donnie Pilot donnie.Name = "Donnie" donnie.Life = 100.0 donnie.Age = 24 - donnie.Aircraft = student.AIRCRAFT1 + donnie.Aircraft = AIRCRAFT1 fmt.Println(donnie) } + +const AIRCRAFT1 = 1 ```