could someone help with my average and sort functions in this program
[code]#include <iostream.h>
//funtion prototypes
int FindLowNum(int [], int );
int FindHighNum(int [], int);
int average(int[] , int , double );
void sorting(int [], int);
//main function
void main()
{
int A[10];
int i;
double avg;...
User Profile
Collapse
-
array help
can someone help with this please
I'm trying to ask a user to input 10 numbers and store the numbers into an array
what I have is
cout< "Please Enter the number";
cin << Array[];
and i believe I will need a lookp as well
some help would be awesome -
-
array question
I'm trying to find the lowest number in the array but cant seem to finish the function in the main...could some help please
Code:#include<iostream> int FindLowNum(int [], int ); int main() { const int arraySize = 20; int a[ arraySize ] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 }; int
No activity results to display
Show More
Leave a comment: