By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,715 Members | 1,773 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,715 IT Pros & Developers. It's quick & easy.

function calling using arrays:::::INT ADJUSTEDSUM (INT[],INT)

P: 1
iam supposed to CREATE A FUNCTION

INT ADJUSTEDSUM (INT[],INT)

1. find the sum of the array of size 100
2. find the number of occurrence of a MIN and MAX number if its twice or more only use 1 instance of EACH
3.IF MIN AND MAX HAVE THE SAME NUMBER DO NOT INCLUDE IN THE SUM

AND FINALLY IF THE NUMBER OF ENTRIES BY THE USER IS LESS OR EQUAL TO 2 THEN I SHOULD RETURN 0.

kindly if anyone can suggest how i can do this using arrays , would greatly appreciate it, IAM NOT GOOD AT USING ARRAYS I GET MIXEDUP!


Thanks, Antique
Nov 29 '06 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.