User Profile

Collapse

Profile Sidebar

Collapse
thebrainmore
thebrainmore
Last Activity: Oct 5 '06, 01:47 PM
Joined: Oct 3 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • thebrainmore
    started a topic function help
    in C

    function help

    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;...
    See more | Go to post

  • thebrainmore
    replied to array help
    in C
    thats great, much appreciated
    See more | Go to post

    Leave a comment:


  • thebrainmore
    started a topic array help
    in C

    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
    See more | Go to post

  • thebrainmore
    replied to array question
    in C
    thank you, worked perfectly
    See more | Go to post

    Leave a comment:


  • thebrainmore
    started a topic array question
    in C

    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
    ...
    See more | Go to post
No activity results to display
Show More
Working...