SSL Certificate
  • Develop a program to meet the following requirements
Develop a program to meet the following requirements:

1. Must use at least two functions, not including Main

2. Must use indirection (the * operator)

3. Must use a loop

4. Must use an array to hold the integers

5. Must take the integer inputs from a file

Your assignment is to take ten integers as input from a file, store them in an array and then:

1. output the largest 

2. calculate the average value of all ten integers, output as float

3. output the contents of your array of integers in order, first to last

Use the following integers:

318 34 18 87 472 809 70 33 51 719

Hints:

Use your text editor (the same one you use to input your source code) to create your data file, one integer per line.

You can either read the file until you hit EOF, or just read 10 integers

Hint: If you read to EOF, you will need to use a loop with the EOF function to prevent reading past the end of file (a fatal error)


Excellent Solution
================
*Instant Download

Write a review

Please login or register to review

Develop a program to meet the following requirements

  • $9.99


*All your data are SECURED & ENCRYPTED using a valid, trusted server certificate (Comodo SSL) and we don't store credit card information on our servers and all Payments are SECURED & handled by Paypal.
SSL CertificatePaypal

Tags: c, programming, average,