Question: Rosetta Stone Rosetta Stone Programming challenge description: The Rosetta stone is an ancient decree written into stone that was used by archeologists to translate between
Rosetta Stone Rosetta Stone
Programming challenge description:
The Rosetta stone is an ancient decree
written into stone that was used by
archeologists to translate between Greek
and Ancient Egyptian languages.
Write a program to decode messages using
a Rosetta for translation. The "Rosetta" will
be a series of character sets paired with
english words or characters. If you
translate the encrypted message correctly,
you will find the hidden message.
HINT: Spaces that are not part of a
fragment must be preserved
Input:
Multiple lines of input will be given. The
first line of input will be the message to
translate to English.
All other lines of input will be the Rosetta
needed to translate. The fragments of each
pair will be separated by a pipe character,
one pair per line of input.
For example:
Hola Mundo
MundoWorld
LunesMonday
HolaHello
Programming challenge description:
The Rosetta stone is an ancient decree
written into stone that was used by
archeologists to translate between Greek
and Ancient Egyptian languages.
Write a program to decode messages using
a Rosetta for translation. The "Rosetta" will
be a series of character sets paired with
english words or characters. If you
translate the encrypted message correctly,
you will find the hidden message.
HINT: Spaces that are not part of a
fragment must be preserved
Input:
Multiple lines of input will be given. The
first line of input will be the message to
translate to English.
All other lines of input will be the Rosetta
needed to translate. The fragments of each
pair will be separated by a pipe character,
one pair per line of input.
For example:
Hola Mundo
MundoWorld
LunesMonday
HolaHelloTranslates:
Hola Mundo
into:
Hello World
Output:
The translated text, which will be a real
English phraseTest
Test Input
Hola Mundo
MundoWorld
LunesMonday
HolaHello
Expected Output
Hello World
Test
Test Input
mieux vaut prvenir que gurir
mercithank you
quethan
maladesick
mieuxbetter
gurirto heal
chiendog
vaut prvenirto prevent
beurrebutter
s'il vous platplease
Expected Output
better to prevent than to heal Translates:
Hola Mundo
into:
Hello World
Output:
The translated text, which will be a real
English phrase Test
Test Input
Solve this in C using the format given
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
