answersLogoWhite

0


Best Answer

int
getLargest(int array[], const int asize) {
int largest = array[0];

int i;

for (i = 1; i < asize; ++i) {

if (largest < array[i])

largest = array[i];

}

return largest;

}

User Avatar

Wiki User

2009-12-09 12:50:15
This answer is:
User Avatar
Study guides

Algebra

20 cards

A polynomial of degree zero is a constant term

The grouping method of factoring can still be used when only some of the terms share a common factor A True B False

The sum or difference of p and q is the of the x-term in the trinomial

A number a power of a variable or a product of the two is a monomial while a polynomial is the of monomials

➡️
See all cards
3.8
2501 Reviews

Add your answer:

Earn +20 pts
Q: Write a program to find largest no out of ten numbers?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How to write a C program to find largest 2 numbers using pointers?

program to find maximum of two numbers using pointers


How do you write an assembly language program to find the sum of n numbers using array?

write an assembly language program to find sum of N numbers


How do you write a VBnet program to find the prime numbers between 100 to 200?

VBnet program to find the prime numbers between 100 to 200?


Write a c program to find out the prime numbers between 1 to 500?

write a program to find prime number between 1 to500


How do you write a c program to find maximum and minimum of a set of numbers?

How do you write a c program to find maximum and minimum number in a given array?


Write a Shell program to find the smallest number from a set of numbers?

k


How do you write a program in BASIC to find the GCD and LCM of two integer numbers?

no


Write a C plus plus program and flow chart to find the largest of the 3 numbers?

To find the largest of three numbers, first find the largest of two numbers: int max (int x, int y) { return x&lt;y?y:x; } Now you can use this one function to find the largest of three numbers: int max (int x, int y, int z) { return max (max (x, y), z); }


How do you write c program to find sum of two numbers?

You add numbers as follows: sum = a + b;


Write a c program to find GCD of n numbers using recursion?

Is this a question? If it is, the answer is: 'yes, do write'.


How to write a program that ask user to enter numbers until user enter- 0 then find the biggest of entered numbers in C programming using while or do while?

int i, largest=0;do { scanf ("Enter a number (0 to exit): %d", i); if (i&gt;largest) largest=i; } while (i!=0); printf ("Largest number is: %d\n", largest);


Write a program to find the product of two numbers using Halving and Doubling method?

i need this answer

People also asked