2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

日本語プログラミング言語Mindでたらい回し関数 別表記

Posted at

Mindでも下記のとおり、関数っぽい表記も出来ます。

tarai4.src

たらい回しとは
     関数 整数入力、整数入力、整数入力、整数出力 
      xは  変数    yは  変数    zは  変数
      xと  yと  zに  入れ     
      xが  y  以下  
         ならば  yを  返し
     さもなければ
             たらい回し(たらい回し(x - 1,y,z),たらい回し(y - 1,z,x),たらい回し(z - 1,x,y))を  返す
      つぎに。

メインは
  ・・・
  ・・・
  たらい回し(x,y,z)を 数値表示する
  ・・・・。
2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?