0
1

More than 3 years have passed since last update.

main.go

Posted at

package main

import "fmt"

func main() {
// 変数inputを定義してください
var input string

// 「次の単語を入力してください: dog」と出力してください
fmt.Println("次の単語を入力してください:dog")

// Scanで入力を受け取ってください
fmt.Scan(&input)

// 受け取った値を出力してください
fmt.Printf("%sと入力されました",input)

}

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1