Let's create a country card. This program takes the name of the country and its capital as input. Complete the function to retur | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 2

Let's create a country card. This program takes the name of the country and its capital as input. Complete the function to retur

function main() {     var country = readLine();     var capital = readLine();         console.log(countryCard(country, capital)); } function countryCard(country, capital){     //завершите функцию     //используйте обр. кавычки (` `) для шаблонных строк     }

25th Jun 2021, 3:39 AM
Vyacheslav Simdyanov
Vyacheslav Simdyanov - avatar
3 Answers
0
Привет! Вы должны нам показать свои усилия и опубликовать свой код, который должен быть после строки //завершите функцию
25th Jun 2021, 10:56 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
0
Руководство по созданию контента и правила Sololearn https://www.sololearn.com/Discuss/1183249/?ref=app
25th Jun 2021, 11:00 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
0
Sir ,any one please help me to solve template literal lesson country card program if I run the program the output showing for only test case 1 not for all test case 5 , please help to solve the program
24th Sep 2023, 8:01 AM
Diwakaran R
Diwakaran R - avatar