Computer Science, asked by rishabroy612, 11 hours ago

#include <stdio.h>
int main()
{
int array[100], size, c, location = 0;

printf("Enter the number of elements in array\n");
scanf("%d", &size);

printf("Enter %d integers\n", size);

for (c = 0; c < size; c++)
scanf("%d", &array[c]);

for (c = 1; c < size; c++)
if (array[c] > array[location])
location = c;

printf("Maximum element is present at location %d and its value is %d.\n", location+1, array[location]);
return 0;
}


What will be the output please help?​

Answers

Answered by 9741179517fhy56
0

Explanation:

here it is

y8624jyzndnyz

Attachments:
Similar questions