- 2
What is the value of x after this code?
c# code. Module 6 int[] arr = {8, 5, 4}; Array.Reverse(arr); double x = Math.Pow(arr[0], 2); answer : 16
7 Respuestas
+ 10
Mesut,
I think you have misunderstood the purpose of the Q&A section.
You should post questions on subjects you require help with or about features on sololearn you would like to see added or improved.
Although your questions are programming related (as there is code in them) they still could be considered spam as you have provided the answers leaving little, if anything to be discussed.
+ 4
Answer Is 16
+ 1
Yes.
0
Mesut,
I think you have misunderstood the purpose of the Q&A section.
You should post questions on subjects you require help with or about features on sololearn you would like to see added or improved.
Although your questions are programming related (as there is code in them) they still could be considered spam as you have provided the answers leaving little, if anything to be discussed.
0
answer: 16
0
answer = 16
- 1
What is the value of x after these statements execute?
int[ ] a = {4, 7, 2};
int x = a[0]+a[2];
=================
Answers : 6
================
coding with cshap
using System;
namespace MyApplication
{
class Program
{
static void Main(string[] args)
{
int[ ] a = {4, 7, 2};
int x = a[0]+a[2];
Console.WriteLine(a[0]+a[2]);
}
}
}
What is the value of x after these statements execute?
int[ ] a = {4, 7, 2};
int x = a[0]+a[2];