#include <stdio.h>
#include <math.h>
/* Define the variables. */
int main ()
{
int N;
float Q[5000];
float max;
float min;
float range;
float average;
int J;
float V=0.0, Sq, De;
/* print program header message. */
printf("\n\n CSCI 210 -- C Assignment 5\n");
printf("...
User Profile
Collapse
-
How Do I Rewrite This In C Using Functions?
-
Functions????
I just wrote a program with all the source code to find the max, min, range, and standard deviation of a bunch of numbers in an array... Now I have to rewrite the program using prototype commands and functions, I have no idea how to do this. If your interested in helping me and id greatly appreciate if if you would here is the task at hand...
------------------------------------------------------------------------------------
... -
Printing From An Array
OK SO WHAT I NEED TO DO IS READ AN OUTSIDE SOURCE TEXT FILE FILLED WITH INTEGERS ( I HAVE THIS FIGURED OUT ) AND THEN I NEED TO PRINT EACH INDIVIDUAL INTEGER FROM THE SOURCE FILE. WHAT IS THE CORRECT printf COMMAND TO DO SUCH A TASK???
No activity results to display
Show More