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!