Morse Code Project

If we are not allowed to use arrays in this project, I am confused on how to make "a morse code get/printing function that converts an individual char into a morse code string". Thank you.

Instructions link:
Last edited on
You are expected to use lots if different variables and use lots of if statements. Presumably, it's to show how difficult life can be without data structures and generic algorithms.
what do yo u know, what can you use? Surely if you know arrays but can't use them, you have something better than 30+ variables for the letters, thats a step backwards.
Topic archived. No new replies allowed.