Write a program in c that will find smallest value

Assignment Help C/C++ Programming
Reference no: EM1362784

a. write a programe c that will find the smallest, largest and average values in a collection of N numbers.Get the value of N before scanning each value in the collection of N numbers.

b. Modify your programe to compute and display both the range of values in the data collection and the standerd deviation of the the data collection. To compute the standerd deviation , accumulate the sum of squares of the data value ( sum_of_aquares) in the main loop. Find standard deviation after sum_of_aquares calculation.

standerd deviation = sqrt( sum_squares / N - average^2 )

Reference no: EM1362784

Questions Cloud

Estimate price of the company stock : The Company has determined that earnings and dividends will decline at a rate of 5 percent yearly. Assume that Ks=11% and Do=$2.00.
Generous package of insurance benefits : Explain what are some advantages of offering a generous package of insurance benefits and what are some drawbacks of generous insurance benefits?
Explain regarding value chain analysis : Explain Regarding value chain analysis what factors limit a person from conducting the analysis
Eps effect of convertible preferred stock : Thrifty Co. reported net income of $465,000 for its fiscal year ended January 31, 2011. At the beginning of that fiscal year, 200,000 shares of common stock were outstanding.
Write a program in c that will find smallest value : Write a programe c that will find the smallest, largest and average values in a collection of N numbers.Get the value of N before scanning each value in the collection of N numbers.
Show company benefits package : How might the company structure its benefits so these employees can take advantage of the benefits they care about most?
Explain customer demand for services is not uniform : Explain Customer demand for services is generally not uniform during a day week or other period of time
Introduction to macronutrients : If the established standard amount of a nutrient is good for you, is consuming more better for you? Why? Can someone please tell me the effects of excessive intake of the below:
Show main forum discussions foster collaborative learning : Collaboration is an important aspect of this learning environment and how do the Main forum discussions foster collaborative learning?

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Write program to calculate net pay for factory worker

Write and run a program in C++ that calculates the net pay for a factory worker. The program prompts the user for skill level and hours worked, as well as appropriate insurance and retirement options for the employee's skill.

  Sort an array of elements using the quick sort algorithm

Sort an array of 10,000 elements using the quick sort algorithm as follows: sort the array using pivot as the middle element of the array

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Implement the guess the word

Implement  the ‘Guess the Word' game in an object-oriented manner

  Create a base employee class

Create a base Employee class and a derived StudentEmployee class

  Write c program that forks two child processes

Write a C program that forks two child processes. The parent process will print all prime numbers up to 229, the first child process will print the first 50 Fibonacci numbers.

  Write a program to read a data file and extract parameters

Write a C/C++ program to read a data file and extract parameters. The program must obtain the filename via a command-line argument.

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write song playlist class-object-oriented design principles

Write a song playlist class in C++ called "PlayList" using object-oriented design principles. The playlist should support the following ADT.The implementation should be based on an array of strings to store the song titles.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Create class integerset

Create class IntegerSet for which each object can hold integers in the range 0 through 100. Represent the set internally as a vector of bool values. Element a[i] is true if integer i is in the set. Element a[j] is false if integer j is not in the set..

  Perform operations on arrays

Perform operations on arrays execute tests and repetitions

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd