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

  Develop a simple poker game

Develop a simple poker game

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

  To reverse the order of elements on a stack

Write a program in C++ to  reverse the order of elements on a stack S using two additional stacks using one additional stack

  Object-oriented systems is the concept of object

At the heart of all object-oriented systems is the concept of an object. Simply stated, an object is a set of related characteristics and their associated actions.

  You will create a linked list module

You will create a linked list module that exactly meets the specifications given in the supplied header (.h) file. The playlist program must accept a filename on the command line (argv).

  C assignment of curl library

C Assignment Curl library must be used To be done on linux, it should be compiled using the following command: gcc -Wall -ansi -pedantic NameOfFile.c -lncurses Please make sure it is commented with clarification Variable names in camel case

  Functions to compute stress and strain in steel rod

Write a main function and the following functions to compute the stress and strain in a steel rod of diameter D (inches) and length L (inches) subject to the compression loads P of 10,000 to 1,000,000 pounds.

  Program to print out invalid number to character

The integer must contain 3 distinct non-zero number, or the program will print out invalid number.it should print out invalid query.

  Program to translates letter grade into number grade

In C++ (should be able to compile in Visual Studio 2010): Write a program to translates letter grade into number grade. Letter grades are A,B,C,D and F, possibly followed by a + or -.

  Create class has three pieces of information as data members

Create a class called Date in C++ that includes three pieces of information as data members: month (type int), day (type int) and yaer (type int).

  Program to compute diameter in centimeters of a steel rod

Write a program to compute the diameter in centimeters of a steel rod, an aluminum rod, and a copper rod, which can withstand a particular compression load.

  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.

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