Rustでコードを書く取り組みです。
- hello_world
"Hello World"を標準出力に表示します。 - x_power
自然数AのX乗を計算します。 - rectangle
長方形の面積と周囲の長さを出力します。 - even_or_odd
偶数(Even)か奇数(Odd)かを判定します。 - watch
入力された秒を時:分:秒
の形式に変換します。 - sum-of-positive
- remove-first-and-last-character
- string-repeat
- small-large-equal
- reversed-strings
- summation
- smallest
- range
- remove-string-spaces
- square-n-sum
- sorting-numbers
- counting-sheeps
- circle-in-a-rectangle
- print-many-hello-world
- calculate-bmi
- teo-word-name
- print-test-case
- vowel-count
- swapping-two-numbers
- century-from-year
- check-for-factor
- how-many-divisors
- a-b-divide
- circle
- min-max-sum
- print-rectangle
- print-frame
- print-chessboard
- simple-calculator
- reversed-numbers
- insert-sort
- greatest-common-divisor
- prime-numbers
- maximum-profit
- bubble-sort
- selection-sort
- dice_1
入力した回数だけ6面体のサイコロを振ります。サイコロを目の合計を表示します。