<u>C program for finding the largest Value in array of integers</u>
#include <stdio.h>
/*Function that returns the largest value stored in an array-of-int*/
int max(int array[], int m)
{
int i;
/* Initializing variable maximum with array[0]*/
int maximum = array[0];
/* Traversing array elements from 2 to last and comparing it with variable maximum*/
for (i = 1; i < m; i++)
if (array[i] > maximum)
maximum = array[i];
return maximum; //returning maximum element of array
}
//driver function
int main()
{
int array[] = {5, 78, 23, 65, 9}; //Input array
int m = sizeof(array)/sizeof(array[0]); //finding the length of array
printf("Largest in given array is %d", max(array, m));/*function calling and printing maximum element of array */
return 0;
}
<u>Output:
</u>
Largest in given array is 78
<span>Which is not a component of a database that describes how data is stored?
</span>
To promote a product we need marketing. So marketing plays an important role, moreover, the demand process also is required.
<u>Explanation:</u>
Marketing for any specified product can be done by visual aid presentation. Visual Aid presentation should have a cached message to the audience and the importance of promoting’s the product and it should impact the customer to purchase products and demand for availability should increase.
Once the demand for the product increased then sales and manufacture of the product are increased. So the growth of the company is increased. So, in other words, it is called chain management in the growth process.
no you do not have to speak to a loan officer unless you need to take out a loan for something or renew a loan
The step that Juan should follow immediately after he makes the cookies is to review his experience.
<h3>What is algorithm?</h3>
An algorithm is known to be the way used for handling a problem or carrying out a computation.
Note that The step that Juan should follow immediately after he makes the cookies is to review his experience as he will be able to know if his algorithm is correct or not.
Learn more about algorithm from
brainly.com/question/25978728
#SPJ1