0
JS
Please check my code and give some advice if there is an error Task: Task Complete the code to return a string in the format you are given in the sample output: Sample Input Portugal Lisbon Sample Output Country: Portugal, Capital: Lisbon let country = readLine(); let capital = readLine(); //complete the code console.log(`Country: , Capital: `);
3 Respuestas
+ 2
Irina Safaryan , change last line => console.log(`Country: ${country}, Capital: ${capital}`);
+ 1
idk which version of this question I got but, mine in sample output says "Name: Portugal, Capital: Lisbon"
0
Thank you!