Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Writing a function that receives a positive integer and retunes true or false according to the sum of the digits
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (0)
Diese Frage ist geschlossen.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!