Question:
array question...........?
mehek
2008-03-12 20:19:38 UTC
DEclare a global int array n,whose maximum capacity is 20.
Input the no. of elements in the array and the values for the array using the function void input array(int size)
If the number of elements exceeds 20, then the program should end. The values must contain both positive and negative integers.
Find the largest sum of positive integers residing at consecutive position using function void largest sum(int num[],int size)
Find the sum of negative integers using function void largest sum(int no[],int size)
Sort the array in descending order and display using function void sort descending(int num[],int size)
Three answers:
Aling
2008-03-13 03:47:32 UTC
I dont no your question!!! Array is a thai language and mine:Question[ what is ?]
2016-12-16 16:37:46 UTC
Array is a determination of factors of an identical datatype, referenced utilising an identical call. Eg char ac[a hundred] is an array of a hundred characters that have the call 'ac'. each and each element could be accessed by utilising ac[index] the place index varies from 0 to ninety 9. Array and advice are an exceedingly vast subject remember. They cant be lined here atleast. Above is an occasion of 1Dimensional array. Array could have greater dimensions.
Craig R
2008-03-12 20:44:13 UTC
That's your assignment.



What's the question?


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...