差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
odin:control_flows [2025/06/20 11:21] – [do ... while は存在しない] Make up for unclear intent code with comment freemikanodin:control_flows [2025/06/20 11:23] (現在) – [do ... while は存在しない] Modify comment to clearer freemikan
行 362: 行 362:
  // ...  // ...
  
- // もう一度ユーザーから入力を受け付け+ // もう一度繰り返すかどうかユーザーに尋ね
  answer = read_user_input(prompt = "続けますか? (yes/no)")  answer = read_user_input(prompt = "続けますか? (yes/no)")
   if answer == "yes" || answer == "no" {   if answer == "yes" || answer == "no" {
文書の先頭へ