Hash Bash

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

You are now following this Submission

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.

Cite As

MUHAMMED SHANSHAD (2026). Hash Bash (https://nl.mathworks.com/matlabcentral/fileexchange/181283-hash-bash), MATLAB Central File Exchange. Retrieved .

Tags

Add Tags

Add the first tag.

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0