Reverse digits of a number - MATLAB Cody - MATLAB Central

Problem 43082. Reverse digits of a number

Reverse digits of a number.

For example, return 321 for the input 123 .

The left-hand zeros can be discarded. For example, input 10 will return 1 .

Solution Stats

77.78% Correct | 22.22% Incorrect
Last Solution submitted on Dec 03, 2024

Problem Comments

Solution Comments

Show comments
PIVlab surpasses 100K all-time File Exchange downloads
During the past twelve months, PIVlab, a MATLAB Community Toolbox for particle...
4
8

Problem Recent Solvers75

Suggested Problems

More from this Author3

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!