Purpose: Assignment: Write a program that will calculate and display the mean, median, sum, max, and min of a provided sequence of 5 numbers. The return types of these functions should be consistent with the result. Example; The sum of two integers is always an integer, so an ‘int’ would be the correct return value for the “sum” function. It is acceptable for functions to be used by other functions you have written for this assignment. 25 5 0 0 2
min = 0 max = 25 median = 2 sum = 32 mean = 6.4000000 0 0 0 0
min = 0 max = 0 median = 0 sum = 0 mean = 0.000000100 100 100 100 100
min = 100 max = 100 median = 100 sum = 500 mean = 100.0000001 2 3 4 5
min = 1 max = 5 median = 3 sum = 15 mean = 3.0000005 4 3 2 1
min = 1 max = 5 median = 3 sum = 15 mean = 3.000000 Grading Criteria:
compiling, CSE1320, editing, executing, Experience, Gain, Mechanics, program, Purpose:, solved
[SOLVED] Cse1320 hw1 purpose: gain experience in the mechanics of editing, compiling, and executing a c program
$25
File Name: Cse1320_hw1_purpose:__gain_experience_in_the_mechanics_of_editing,_compiling,_and_executing_a_c_program.zip
File Size: 970.26 KB
Only logged in customers who have purchased this product may leave a review.
Reviews
There are no reviews yet.