answersLogoWhite

0

Please improve your question so we do not have to guess at what you are asking.

Is this a math, C Programming or algebra problem, please pick one because it cannot be all 3 at the same time.

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

How many times is the number 1 found between 1 and 1000?

The number 1 is found 300 times between 1 and 1000.


What is the index number of the last element of an array with 9 elements?

(array.length - 1) will find the index of the last element in an array (or -1 if the array is empty).


The difference between three times a number and one?

The difference between three times a number and one is two times the number.


What is the definition of a square array?

A square array has the same number of columns and rows the array [1] is a square array (a trivial example) the array [1 0] [0 1] is a square array the array [1 0 0 0] [0 1 0 0] [0 0 1 0] [0 0 0 1] is a square array the array [1 0 0 0] [0 1 0 0] [0 0 1 0] is not a square array


How check four number in c who is bigger?

In order to determine which of four number is bigger you need 16 if statements arranged in a nested if statement. That exceeds the complexity of just sorting it in an array. Here is a solution using a simple array sort. int array[] = {7, 2, 27, 4}; int i, swap; do { swap = 0; for (i = 0; i < 4; ++i) { if (array[i]<array[i+1]) { swap=array[i]; array[i]=array[i+1]; array[i+1]=swap; swap=1; } } } while (swap == 1); printf ("%d\n", array[0]);


Consider prime numbers between 1 and 10000. Draw a flowchart to display the prime numbers.Write a pseudo code associated with the flowchart in a)?

A) Here's an example of a flowchart and pseudocode that could be used to display the prime numbers between 1 and 10000: Flowchart:
START Set up an array of numbers from 1 to 10000 Set an empty array to store the prime numbers Set i = 2, the first prime number For each number in the array, check if it is divisible by i If it is divisible by i, it is not a prime number and move to the next number in the array If it is not divisible by i, it is a prime number and add it to the prime numbers array Increase i by 1 and go back to step 4 Repeat steps 4 through 7 until i is greater than the square root of 10000 Display the prime numbers array END


Full defecation of array?

Full representation of an array begins from the index 0 and ends at n-1 where n is the number of variables of the array.


What is an array of the prime number 31?

It is 1 x 31.


How do you get the middle number for the turbo c using array?

it depends how you have coded your program as: if you initialized your array (a) by loop from 0 then int lb=0,ub=n-1; //n is number of elements in array int mid=(lb+ub)/2; printf("middle number is :%d",a[mid]); if you initialized your array (a) by loop from 1 then int lb=1,ub=n; //n is number of elements in array int mid=(lb+ub)/2; printf("middle number is :%d",a[mid]);


How do you swap rows in 2 dimensional array in Java?

[]temp = array[1] array[2]=array[1] array[1]=[]temp


How many times does the number one occur between 1 and 120?

I count 53 times.


How do you swap two adjecent no in array in c?

Option 1) Use a temporary variable: int x = array[i]; array[i] = array[i+1]; array[i+1] = x; Option 2) Use bit operators: array[i] ^= array[i+1] ^= array[i];

Trending Questions
What book made Charles dickins shot up in fame in 1836? What is the website for Hawker Beechcraft employees to check their benefit information? How were the grievances addressed in the bill of rights? What is one negative effect of eating a diet high in fat? Who are the titans of greek mythology? What are the steps in order to make gible appear in the safari zone on heartgold? How do you replace a windshield wiper fluid pump? What is the phone number of the Washington Park Branch in Milwaukee? What do ice cream men do during the winter? Can you give list of living and non living things that affect animals? Please explain the organizational and societal functions of PR? Are earthquakes caused by tectonic plates? What is the root of 2.07 rounded to 2 decimal places? Which famous figure of the anti-slavery movement is being described below She gave speeches criticizing slavery throughout New England and the West drawing large crowds wherever she went.? I'm thinking about buying a '68 Buick Riviera. My concern is that if it breaks down would any shop be able to fix it and is it expensive and a big hassle trying to find parts for it? What are the benefits of installing a three piece shower surround in a bathroom renovation project? Does the centroid of the rectangle coincide with the intersection of the diagonals? What is a California campus beginning with the letter b? How much does a nrl linesman get paid? Where is the overdrive solenoid on a 2001 Dodge Pickup Transmission located?