Hash Bash

版本 1.0.0 (1.1 KB) 作者: MUHAMMED SHANSHAD
it generats list of numbers from 1 to user input. returns 'hash' for number divisible by 3, 'bash' for divisible by 5 & 'hash bash' for 3&5
2.0 次下载
更新时间 2025/6/14

查看许可证

user can generate a list of numbers from 1 to the input. it displays from that array of numbers.if the number is divisible by 3 it shows 'hash' in output instead of the number.similarly 'bash' for numbers divisible by 5, and shows 'hash bash' for numbers which are divisible by both 3 and 5.for any other numbers it displays the number itself.

引用格式

MUHAMMED SHANSHAD (2025). Hash Bash (https://ww2.mathworks.cn/matlabcentral/fileexchange/181283-hash-bash), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2025a
兼容任何版本
平台兼容性
Windows macOS Linux
标签 添加标签

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0