mirror of https://github.com/01-edu/public.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Augusto
39e8eb3ccf
|
3 years ago | |
---|---|---|
.. | ||
README.md | 3 years ago |
README.md
pilot
Instructions
- Create a directory called
pilot
. - Inside the directory
pilot
create a filemain.go
. - Copy the code below to
main.go
and add the code needed so that the program compiles.
Note: You can only add code, not delete.
Usage
package main
import "fmt"
func main() {
var donnie Pilot
donnie.Name = "Donnie"
donnie.Life = 100.0
donnie.Age = 24
donnie.Aircraft = AIRCRAFT1
fmt.Println(donnie)
}
const AIRCRAFT1 = 1