logo

Crowdly

Дослідити програму. Написати що буде виведено на екран. class Program { st...

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

Дослідити програму. Написати що буде виведено на екран.

class Program

{

static void Main(string[] args)

{    int a=0, b=15, c=4;

 Console.WriteLine(Test(a, b,c));

 }

 

int Test(int p1, int p2, int p3)

{

    if(p1 >= 1)

          return p2 + p3;

     else

         return p2 - p3;

}

}

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

More questions like this

Want instant access to all verified answers on elearning.kubg.edu.ua?

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