Skip to content

Shibachan1015/conversion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

conversion

Rust the book が挑戦をうながしている、「摂氏華氏変換」に挑戦してみた。
I tried the "Celsius to Fahrenheit" conversion that Rust the book is encouraging us to try.

フォーカスしたこと

  • modを使う
  • ifではなくmatchを使う
  • 正常終了を実装をする
  • 摂氏←→華氏 or 終了をいつでも選択できるようにする

What I focus on

  • Use mod.
  • Use match instead of if.
  • Implement normal termination.
  • To be able to select Celsius←→Fahrenheit or normal termination at any time.

https://replit.com/@siba1015/conversion-1#src/main.rs

ご意見やレビューお待ちしてます。
I welcome your comments and reviews!!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published