if(country=="Tajikistan") | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 7

if(country=="Tajikistan")

say hello from Tajikistan.

2nd Nov 2017, 6:28 AM
Akbar Gulov
Akbar Gulov - avatar
2 Answers
+ 6
string country, text=""; country=Console.ReadLine(); if(country=="Tajikistan") text="Салом мардум!"; else text="Visit Tajikistan"; Console.WriteLine(text);
2nd Nov 2017, 6:36 AM
Akbar Gulov
Akbar Gulov - avatar
+ 3
country = input() while(True) if(country = "Britain"): print("RULE BRITANNIA") else: print("How hath thou escapéd mine King's empire?") break 😎🇬🇧
2nd Nov 2017, 8:31 AM
Will Johnson