+ 1

Keep saying error why

using System; public class Program { static void Main(string[] args) { string country = Console.ReadLine(); string capital = Console.ReadLine(); //your code goes here Console.WriteLine(

quot;Country:{country}, Capital: {capital}"); } }

2nd Dec 2022, 7:48 AM
Jimmy Walton
Jimmy Walton - avatar
3 Antworten
+ 3
Compare the output format from the description with your output about spaces included and spellings...
2nd Dec 2022, 9:45 AM
Jayakrishna 🇮🇳
+ 1
I found It I forgat to put a space after Country:
2nd Dec 2022, 12:02 PM
Jimmy Walton
Jimmy Walton - avatar
0
Always practice to avoid error
3rd Dec 2022, 8:35 PM
Sharifa Osman
Sharifa Osman - avatar