answersLogoWhite

0


Best Answer

This is done with an algorithm that takes a text string and process each letter in turn.

In computing text letters are usually coded as ASCII characters where the character is encoded as a specific numeric value. The algorithm will obtain this value and use it as in index into an array storing the Morse Code representation for every ASCII character.

The output of the algorithm with thus be a Morse translation of the text input.

User Avatar

Wiki User

8y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do I write a program that converts sentences into Morse code?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

You are require to write a program to convert Text into Morse code. The Letters A-Z can be represented in Morse code. Each Letter is represented by a combination of up to four dots . andor dashes?

no they are qall mixed up


Write a program that converts a decimal number to nearest integer?

prompt x floor(x + .5) -> x disp x


How to write Morse code using the laptop?

Try this morse code alphabet chart.


How many books did Samuel Morse write?

Samuel Morse, known primarily for his invention of the telegraph and Morse code, did not write any books. He was an inventor and artist rather than an author.


How do I write a program that lets me convert text to Morse code on Turbo Pascal 7.0?

There may be a more efficient method (I know very little about Morse code) but since there are only 26 letters you could use a giant if-else if statement.


How do you write a sentence using the word Morse code?

I used to be familiar with Morse code, but not anymore.


How to write Morse code?

To write Morse code, use a combination of short and long signals, known as dots and dashes, respectively, to represent letters, numbers, and punctuation marks, with a short pause between each element. You can write with Morse code translators as well. If you want to learn proper Morse code then you'll need to start with Morse code alphabets first.


Write short note on assembler?

A computer program that takes non-machine language instructions prepare by a computer user and converts them intto a for that may be used by the computer(:


Write sentences on which?

This is a program to which I belong.I don't know which kind of pie to order.My classes, which ended last Friday, will start again in six weeks.


What should you do if he hate you?

Learn to write sentences, guys hate girls who can't spell or write sentences.


How do you write Two sentences that have nouns that are preceded by at least two modifiers?

write two sentences to have noun


What does Escriba las frases en espanol Mean?

"Write the sentences in Spanish"