answersLogoWhite

0

How to caculated arr at front office

User Avatar

Wiki User

12y ago

Still curious? Ask our experts.

Chat with our AI personalities

JudyJudy
Simplicity is my specialty.
Chat with Judy
RossRoss
Every question is just a happy little opportunity.
Chat with Ross
ProfessorProfessor
I will give you the most educated answer.
Chat with Professor

Add your answer:

Earn +20 pts
Q: How ARR calculated?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Other Math

How do you sort array in php without use of sort function?

$arr=array(2,5,4,6,7,8,1); for($i=0;$i<count($arr);$i++) { for($j=$i;$j<count($arr);$j++) { if($arr[$i] > $arr[$j]) { $temp=$arr[$i]; $arr[$i]=$arr[$j]; $arr[$j]=$temp; } } }


Write a javascript program for Fibonacci series?

I did this as an answre to some common js questions , the question wasWrite a function which will return you first two times 1, then 2, then 3, then 5 and so on (Fibonacci numbers). Don't use any global variables.var fibonacci = (function () {var arr = [0, 1];return function () {var num = arr[arr.length - 1],len = arr.length;arr.push(arr[len - 1] + arr[len - 2]);return num;};}());//testvar i;for (i = 0; i < 10; i++) {console.log(fibonacci());}//1,1,2,3,5,8,13,21,34,55


Example of flowchart that will print and display a name 10 times?

There are many ways you can make a flowchart that will print and display a name 10 times. One example, will make you work with array, but you would input arr[1] for Sunday and arr[7] for Saturday.


Write a program in C to accept 10 values in an integer array and show odd even and negative numbers?

#include&lt;stdio.h&gt; #include&lt;conio.h&gt; void main() { int a[10],count_even=0,count_odd=0,neg=0,i; printf(" Enter the value in Array \n"); for(i=0;i&lt;10;i++) scanf("%d", &amp;a[i]); /* Calculating number of odd and even integer's */ for(i=0;i&lt;10;i++) { if((a[i]%2 ==0)) count_even++; if((a[i]%2==1)) count_odd++; if(a[i]&lt;0) neg++; } /* display the number of odd and even integer's */ printf(" Total number of even integer are %d\n ",count_even); printf("Total number of odd integer are %d\n", count_odd); printf(" Total negative integer are %d", neg); getch(); }


What is density calculated by?

Density is calculated by dividing the mass and volume of an object.