answersLogoWhite

0

12

User Avatar

Anonymous

4y ago

What else can I help you with?

Related Questions

Can you help me with the C plus plus code of the program which has 10 index of array it adds 5 into every even elements of the array and then it subtracts 10 into the odd elements of the array?

int array[10] = {...}; for (int i = 0; i < 10; ++i) { if (i % 2 == 0) array[i] += 5; else array[i] -= 10; }


What are the even square numbers between 10-70?

what are the even square numbers between 10 and 70


Summarize the ruls for writing a one dimessional array definetion?

To define a one-dimensional array in programming, you typically specify the type of elements the array will hold, followed by the name of the array, and the size of the array in square brackets. For example, in languages like C or Java, you would write int myArray[10]; to declare an array named myArray that can hold 10 integers. Additionally, it's important to initialize the array if needed, either at the time of declaration or later in the code. Remember that array indexing usually starts at zero.


What is the square root between 10 and 11?

The square root of a number between 10 and 11 can be approximated by finding the average of the square roots of 10 and 11. The square root of 10 is approximately 3.1623, and the square root of 11 is approximately 3.3166. Therefore, the square root of a number between 10 and 11 would be approximately 3.23945.


How 2 write c code of array data structure?

An example: int array [10]; yaaa this is write but for a simple programs on array and all data structure visit codingdatastructure.blogspot.com


How is the square root of 225 between 10 and 20?

10 squared is 100. 20 squared is 400. 225 is between 100 and 400. Its square root will be between 10 and 20.


What two integers does the square root of 94 lie BETWEEN?

The square root of 94 would lie between 9 (9x9=81) and 10 (10x10=100).


What is the square root between 9 and 10?

There are infinitely many square roots between 9 and 10.


What is a example of a array?

An ordered array is simply an array where all elements are in sorted order: int a[] = {3, 6, 9, 10, 15, 21}; // ordered array An array can either be initialised with ordered elements or the elements may be sorted after initialisation. When inserting new elements into an ordered array, the order must be maintained.


Why array is a implicit pointer?

An array of pointers is exactly what it sounds like - one or more pointers arranged in order in memory, accessible through a common base name and indexed as needed. Philosophically, there is no difference between an array of pointers and an array of objects...int a[10]; // 10 integers, named a[0], a[1], a[2], ..., a[9]int *b[10]; // 10 pointers to int, named b[0], b[1], b[2], ..., b[9]If you initialize the array of pointers...int i;for (i = 0; i < 10; i++) b[i] = &a[i];... then *b[0] would be the same as a[0], etc.


How can you mix up the order of values in a PHP array?

To shuffle an array in PHP is easy to do, all you need to use is the shuffle() function like shown below: &lt;?php $array = array(1, 2, 3, 4, 5, 6, 7, 8, 9, 10); shuffle($array); // array results will be randomly shuffled ?&gt;


Explain how you know that the square root 225 is between 10 and 20?

10 squared is 100. 20 squared is 400. 225 is between 100 and 400. Its square root will be between 10 and 20.