Write c program to find smallest-largest values

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

a. write a program 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 program to compute and display both the range of values in the data collection and the standard deviation of the the data collection. To compute the standard deviation , accumulate the sum of squares of the data value ( sum_of_squares) in the main loop. Find standard deviation after sum_of_squares calculation.

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

Reference no: EM1361241

Questions Cloud

Benefits of protein and fats in the diet : What are some of the benefits that unsaturated fats in addition, proteins provide when included in a balanced diet?
What will the speed of the boat be : Four point charges have the same magnitude of 2.18 x10-12 C and are fixed to the corners of a square that is 3.95 cm on a side. Three of the charges are positive and one is negative. find the magnitude of the net electric field that exists at the ..
Changes in service and price in the airline industry : How would you characterize the U.S. airline industry in the early 1990's and how is it that Southwest Airlines has been able to consistently grow and prosper in the U.S. passenger airline industry
Problem on loan repayment : Suppose your father has a mortgage loan on family home that was made several years ago when interest rates were lower. The loan has current balance of $40,000 & will be paid off in twenty years by paying $330 per month.
Write c program to find smallest-largest values : Write a program 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.
Court case of lawsuit : A discussion of the legal and ethical issues related to performance management in this court case or lawsuit
Produce a net electric field of magnitude e : Consider an infant who weighs 100 newtons. During each year she grows so that each dimension of her body increases by 5%. How much would she weigh then.
Nature versus nurture debate in relationship to obesity : There are two common theories to explain obesity. Give an overview of the nature vs. nurture debate in relationship to obesity as presented in your textbook and other reliable sources.
Illustrate what two policies could you use to reduce : As a policy maker concerned with correcting the effects of gases and particulates emitted by and local power plant, illustrate what two policies could you use to reduce the total amount of emissions.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Determine the meaof the numbers in the array

Determine the mean(average) of the numbers in the array, and output the reslt. Use a subprogram to input the numbers, a function to find the mean.

  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.

  Perform operations on arrays

Perform operations on arrays execute tests and repetitions

  Prepare a linux shell

Prepare a linux shell (in other words, write a C/C++ program) that will recursively prompt for input from the user. The shell should prompt as

  Prepare a linear support vector machine svm

Write a computer program to prepare a Linear Support Vector Machine SVM

  Pros and cons of choosing two servers

Classify the two alternatives in terms of what type of application architecture they use. b. Outline the pros and cons of the two alternatives and make a recommendation to Fred about which is better.

  Program to declare array alpha of components of type int

Write C++ statements to do the following: Declare an array alpha of 15 components of the type int. Output the value of the tenth component of the array alpha.

  Construct vector and linked lists data structures

You will prepare sorted versions of the Linked Lists and Vector data structures developed in class

  Uml diagram of all the classes

Speaking of converting into the correct object-type, the goal of the factory is to abstract away object creation.

  Write a menu-driven program that maintains an address book

Write a menu-driven program that maintains an address book using a linked list. The address book must supports the following operations

  Write c program that prompts for variable number of integers

Write a C program that prompts for a variable number of integers, adds them up, averages them, and prints out the average.

  Write a program that converts between app and ppm values

Write a simple program that converts between APP and PPM values

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