Pages
Executive Summary
Bios
Crypto
ETHBTC experiment
Sumo Vault
ORCA arbitrage
Mensa
BUIDLn a Protocol
Saturday, August 13, 2022
Rust exercise: Hello, world-...ish
"
Rust in Small Pieces
" from a book I'm writing.
Given, "
Hello, world!
"
Write a Rust program,
greet
, that has the following behaviors:
$ ./greet
Whom?
$ ./greet geophf
Hello, geophf!
$ ./greet Mary Sue
Hello, Mary!
Hello, Sue!
(
answer
)
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment