logo

Crowdly

Browser

Add to Chrome

Вихідний модуль містить код: class Employee { private int id; privat...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Вихідний модуль містить код:

class Employee

{

private int id;

private float salary;

public Employee (int i, float z) {id = i; salary = z; }

public float Salary (int number) {return number

public void Salary (int number, ref float SalaryR)

{ if (number

{Float slrr = salary;

salary = SalaryR; SalaryR = slrr;

}}}

class Program

{ static void Main ()

{ Employee Ivaniv = new Employee (12, 40000.0f);

float z = 45000.0f; Ivaniv.Salary (10, ref z);

System.Console.Write ( "Salary Ivanivа =" + z);

}}

Вкажіть результат виведення на консоль після спроби запустити програму на компіляцію і виконання:

C# oop_class

More questions like this

Want instant access to all verified answers on moodle.chnu.edu.ua?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome