How to implement a parameter accumulation function? Fn (2, 3) makes the result 5

parameters are not fixed, how to write such a function, it looks so simple, I did not write it.

Jun.14,2022

like this?

clipboard.png


refer to Arguments

Arguments


personal feeling that this question means that Collier can refer to https://codeshelper.com/a/11... to learn more about it

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3c113-e833.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3c113-e833.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?