Logo 
Search:

C++ Programming Forum

Ask Question   UnAnswered
Home » Forum » C++ Programming       RSS Feeds

Write a loop program with functions required

  Asked By: Luz    Date: Sep 26    Category: C++ Programming    Views: 1019
  

Write a program using a loop to read and store in 10 numbers in an array and compute the average, maximum and minimum values.

Functions required:

Function to input 10 numbers
Function to compute the average
Function to determine the maximum
Function to determine the minimum

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Abhishek Singh     Answered On: May 14

this is so easy programm.
void avv(int *p);
void min(int *p);
void max(int *p);
void inp(int *p); tsis are the data type .
simply call them by.....
avv(&s);
.........

 
Didn't find what you were looking for? Find more on Write a loop program with functions required Or get search suggestion and latest updates.




Tagged: