Em Andamento

C++project

hello, Hamad told me about you, i need help on my c++ project,

MORSE CODE

Perhaps the most famous of all coding schemes is the Morse code, developed by Samuel Morse in 1832 for use with the telegraph system. The Morse code assigns a series of dots and dashes to each letter of the alphabet, each digit and a few special characters (such as period, comma, colon and semicolon). Other representations of dots and dashes are used with light-oriented systems and signal-flag systems.

Separation between words is indicated by a space, or, quite simply, the absence of a dot or dash.

In a sound-oriented system, a space is indicated by a short period of time during which no sound is transmitted.

Write a program that reads an English-language phrase and encodes the phrase into Morse code. Your program should also read a phrase in Morse code and convert that phrase into English-language equivalent. Use one blank between each Morse-coded letter and three blanks between each Morse-coded word. Allow the user to choose whether to encode or decode.

Use at least non-void two functions.

SAMPLE OF CODE:

string texttomorse(string n)

{

string out = " ";

for (int k=0; n[k]; k++)

{

SAMPLE OUTPUT:

TEXT TO MORSE CODE or MORSE CODE TO TEXT Please selection option:

Select 1 to decode Morse code to English text

Select 2 to decode English text to Morse code

1

Enter Morse code to translate, with a space between letters and three spaces between words:

- .... .. ... - --- ---

THIS TOO

TEXT TO MORSE CODE or MORSE CODE TO TEXT Please selection option:

Select 1 to decode Morse code to English text

Select 2 to encode English text to Morse code

2

Enter text with only space between words:

rahul vishen

.-. .- .... ..- .-.. ...- .. ... .... . -.

Habilidades: Programação C, Programação C++ , Java, PHP, Arquitetura de software

Ver mais: need help to write a letter, dot int, c for int, translate letters, semicolon, my c, morse code, encode to word, c# project, c project, time series project, string decode encode, comma separation, 320 words english, choose flag project, decode morse code program, project flag, morse text program, language time series, famous series, digit letter, text morse, encode decode, translate letters words, program morse code

Acerca do Empregador:
( 7 comentários ) Melbourne, United States

ID do Projeto: #6836255

Premiar a:

it2051229

Hired by the Employer

$50 USD em 1 dia
(744 Avaliações)
7.2