Write a program to input 3 integer digits (from 100 - 999), then in the numbers letters in hundreds, tens, and units ?
Show older comments
I need help
2 Comments
x = 789;
fix(mod(x,[1e3,1e2,1e1])./[1e2,1e1,1e0])
Answers (1)
KSSV
on 21 Sep 2022
0 votes
Read about input and see this file exchange: https://in.mathworks.com/matlabcentral/fileexchange/47221-number-to-words
Categories
Find more on MATLAB Coder in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!