Toggle navigation
Toggle navigation
This project
Loading...
Sign in
윤준석
/
open-source-gitbranch-assignment2
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
윤준석
2022-03-26 21:08:25 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ab01c553a50d988c1f272800979c5ab3dd07c1df
ab01c553
0 parents
ADD: implements echo program
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
main.go
main.go
0 → 100644
View file @
ab01c55
package
main
import
(
"bufio"
"fmt"
"os"
)
func
main
()
{
var
input
string
sc
:=
bufio
.
NewScanner
(
os
.
Stdin
)
for
{
fmt
.
Print
(
"input: "
)
sc
.
Scan
()
input
=
sc
.
Text
()
fmt
.
Printf
(
"output: %s
\n
"
,
input
)
}
}
\ No newline at end of file
Please
register
or
login
to post a comment