Untitled
unknown
csharp
a year ago
915 B
6
Indexable
using System; namespace HelloApp { class Program { static void Main(string[] args) { string stringToShow1, stringToShow2; string surname = "Титов"; string name = "Максим"; string otchestvo = "Александрович"; int age = 17; double weight = 60.0; stringToShow1 = surname + " " + name + " " + otchestvo + ", возраст " + age + ", вес " + weight; surname = "Мильшин"; name = "Олег"; otchestvo = "Дмитриевич"; age = 16; weight = 80; stringToShow2 = surname + " " + name + " " + otchestvo + ", возраст " + age + ", вес " + weight; Console.WriteLine(stringToShow1); Console.WriteLine(stringToShow2); } } }
Editor is loading...