介绍
在这个挑战中,作为一名移动应用初创公司的初级软件开发人员,你将创建一个个性化的天气推荐功能,帮助用户根据当前天气条件选择合适的衣物。你将实现一个 Go 程序,使用 switch
语句为不同的天气条件(包括下雪、下雨、晴天和阴天)提供衣物推荐。
Skills Graph
%%%%{init: {'theme':'neutral'}}%%%%
flowchart RL
go(("Golang")) -.-> go/DataTypesandStructuresGroup(["Data Types and Structures"])
go(("Golang")) -.-> go/FunctionsandControlFlowGroup(["Functions and Control Flow"])
go/DataTypesandStructuresGroup -.-> go/strings("Strings")
go/FunctionsandControlFlowGroup -.-> go/if_else("If Else")
go/FunctionsandControlFlowGroup -.-> go/switch("Switch")
subgraph Lab Skills
go/strings -.-> lab-436449{{"实现天气建议的 Switch 功能"}}
go/if_else -.-> lab-436449{{"实现天气建议的 Switch 功能"}}
go/switch -.-> lab-436449{{"实现天气建议的 Switch 功能"}}
end