Jul-15-2022, 04:20 PM
Ok can you modify the code to exit if you reply wrong ?
Thank you
Thank you
Quote:This is the answer I get when the answer is wrong.
Output:enter a country name: africa africa a enter a country name starts with the last letter of previous country name: france enter a country name starts with the last letter of previous country name: germiny enter a country name starts with the last letter of previous country name: