Create a basic C++ program to beat a word game

Përfunduar Postuar 6 vite mё parё Paguhet në dorëzim
Përfunduar Paguhet në dorëzim

I need a simple C++ program that will help me to beat a word game I play. There are two rows of letters. When you click a letter, the letters above/below/left/right of it increase 1 letter forward in the alphabet (example: "A" will become "B", "Z" will become "A"), and every letter can only be clicked or changed a total of 2 times.

The program will cycle through all possibilities and check for possible solutions to each question. When the answer is correct, the top and bottom will both be words in the English dictionary.

== EXAMPLE ==

Original Question:

C R S N I

S N B C R

Click "R" (row 1, col 2)

D R T N I

S O B C R

Click "N" (row 1, col 4)

D R U N J

S O B D R

Click "R" (row 2, col 5)

D R U N K

S O B E R

So the answer for this problem would be "drunk, sober"

The program (C++ console app) will prompt me for a question, and I will enter it like this:

crsni/snbcr

Then when it has found the answer, it will display it like this:

drunk, sober

1-2, 1-4, 2-5

The second line in the program's output will be the row and column number corresponding to where to click to get this result. The app should work for however many rows are present, and rows do not always have the same number of columns. If one of the rows is shorter, I will mark where that space is with underscores, like this:

J S G B H _ _

H S B D J S L

This will be entered like this: jsgbh__/hsbdjsl

Programim në gjuhën C++

ID Projekti: #13950143

Rreth projektit

4 propozimet Projekti në distancë Aktiv 6 vite mё parё

Është zgjedhur fitues:

epixerion

Hi, I've recently joined the freelancer community as a developer, and your project sound like the perfect first project to try on ! I love working on project related to game, and making an AI to resolve that word game Më shumë

$55 USD për 1 ditë
(0 Përshtypje)
0.0

4 profesionistë freelancer dërguan një ofertë mesatare prej $70 për këtë punë

StrongDecs

Greetings, I plan tomorrow evening delivery on this puzzle. Please message me if this proposal turns you interested. Thanks,

$200 USD për 2 ditë
(3 Përshtypje)
1.9
exlsid

I'd do this for free but I am not allowed to bid 0 :)

$20 USD për 1 ditë
(0 Përshtypje)
0.0