Info
この質問は閉じられています。 編集または回答するには再度開いてください。
Writing a function that receives a positive integer and retunes true or false according to the sum of the digits
1 回表示 (過去 30 日間)
古いコメントを表示
Hello guys, I would like to know how to write a function that receives a positive integer and retunes true if the sum of the digits in the even places is greater than the sum of the digits in the odd places is greater, otherwise it will return false. I would like for a full solution, because I don't know how to start this task at all.
0 件のコメント
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!