1 つの int 型引数を取り,0 から引数で指定した数値までの間の乱数整数を戻り値とする関数 randamu() を追加し,age に格納する値とするように変更する.randamu() に与える引数は 99 とする.
int randamu(int num) { return rand() % num + 1; }
1 つの int 型引数を取り,0 から引数で指定した数値までの間の乱数整数を戻り値とする関数 randamu() を追加し,age に格納する値とするように変更する.randamu() に与える引数は 99 とする.
int randamu(int num) { return rand() % num + 1; }
Generate
More than just a code generator. A tool that helps you with a wide range of tasks. All in one place.
Function from Description
Text Description to SQL Command
Translate Languages
Generate HTML from Description
Code to Explanation
Fix invalid Code
Get Test for Code
Class from Description
Regex from Description
Regex to Explanation
Git Command from Description
Linux Command
Function from Docstring
Add typing to code
Get Language from Code
Time complexity
CSS from Description
Meta Tags from Description