Този браузър вече не се поддържа.
Надстройте до Microsoft Edge, за да се възползвате от най-новите функции, актуализации на защитата и техническа поддръжка.
Which of the following lines of code will output the text Windows 11?
Windows 11
Console.WriteLine("Windows " + 7 + 4);
Console.WriteLine($"Windows {1 + 1}");
Console.Write("Windows " + 1 + 1);
What is the value of the following result? int result = 3 + 1 * 5 / 2;
int result = 3 + 1 * 5 / 2;
10
5
6
What will be the result of the following line of code? Console.WriteLine(5 / 10);
Console.WriteLine(5 / 10);
0.5
0
1
Which of the following lines of code uses the addition assignment operator?
value += 5;
value++;
value = value + 5;
You must answer all questions before checking your work.
Тази страница полезна ли беше?
Нуждаете се от помощ по тази тема?
Искате ли да опитате да използвате Ask Learn, за да изясните или да ви насочи по тази тема?