mirror of
https://github.com/bootdotdev/fcc-learn-golang-assets.git
synced 2025-12-16 02:01:16 +00:00
first
This commit is contained in:
13
course/2-variables/exercises/7-constants/code.go
Normal file
13
course/2-variables/exercises/7-constants/code.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package main
|
||||
|
||||
import "fmt"
|
||||
|
||||
func main() {
|
||||
const premiumPlanName = "Premium Plan"
|
||||
premiumPlanName = "Basic Plan"
|
||||
|
||||
// don't edit below this line
|
||||
|
||||
fmt.Println("plan:", premiumPlanName)
|
||||
fmt.Println("plan:", basicPlanName)
|
||||
}
|
||||
Reference in New Issue
Block a user