MTRX1702 Lecture 3: MTRX1702, lec 3 Assignment 3-Morse-Code
Document Summary
You are required to write a program that can translate international (itu) morse code to text and vice versa. Your program must comply with the following specifications: upon running the program, the user must be presented with the following prompt: Input that is a combination of alphanumeric characters and whitespace is to be translated into morse code. Input that is a combination of periods (. ), dashes (-), slashes (/) and whitespace is to be translated into text. Incorrectly formatted input is to result in the message invalid input! and the program is to return a non-zero return value. Your code will be compiled with the command make being run in the root directory of your submission. The executable that is created must be called morse. It must be created in the root directory of your submission. You may use any functions in the c99 standard library. You may not use external sources of code, regardless of licensing.