Write program using array that asks user to input 10 numbers

Assignment Help Computer Engineering
Reference no: EM13322439

Write a program using array that asks user to input 10 numbers, then calculates the average of those numbers and finds out the total number that is greater or equal to the average. For example, the user inputs following ten numbers: 1,2 3,4,5, -1, -3,-5,0,4. The sum will be 10, the average is 1. The total number that is greater or equal to 1 is 6 (they are 1,2,3,4,5,4). You have to use the loop structure for this problem.

It is very important that this is in C++ compiler used is DevC++.

 

Reference no: EM13322439

Questions Cloud

Five different well-diversified portfolios of risky assets : You are evaluating various investment opportunities currently available and you have calculated expected returns and  standard deviations of five different well-diversified portfolios of risky assets:
Write the structural vhdl code to implement device : Two voltage and two current sensors indicate measured voltage with 16-bit binary values on their output lines, S15 to S0.
Explain what is the total pressure in the vessel : What is the partial pressure of SO2(g) in the larger container. What is the partial pressure of N2(g) in this vessel. What is the total pressure in the vessel
Determine the required shaker frequency to cause resonance : A floor slab has a fundamental bending frequency of 10Hz. A shaker is placed at the centre of the slab for a dynamic testing. The tests confirm that the slab displays a damping ratio of 2% of critical.
Write program using array that asks user to input 10 numbers : Write a program using array that asks user to input 10 numbers, then calculates the average of those numbers and finds out the total number that is greater or equal to the average.
What is the angular frequency of the charge oscillations : A 30 microF capacitor and a 5.45 miliH inductor are connected in series with an open switch. What is the angular frequency of the charge oscillations in the capacitor
Explain what is the partial pressure of nh3 : A mixture of gases contains 10.20g of N2 , 1.80g of H2, and 8.15 of NH3 . The total pressure of the mixture is 1.90atm. What is the partial pressure of N2? What is the partial pressure of H2. What is the partial pressure of NH3.
Financial reform act of 2010 applies to hedge funds : Explain how the Financial Reform Act of 2010 applies to hedge funds
What will be the bending stiffness of the bridge in a case : A bridge is subjected to a load of 10,000 kN at its mid span, yielding a displacement of 5 millimetres at that location. What will be the bending stiffness of the bridge in this case (make sure the unit is given)

Reviews

Write a Review

Computer Engineering Questions & Answers

  Define compensation structure and job design research

Assess value of the position using a job-based approach. The job based approach will assess the value that the specific position brings to the organization.

  Utilization of authentication

In the 802.11i, authentication always utilizes the SSL/TLS, Outer, Inner, Both A and B, Neither A nor B.

  Aspects of effectiveness and robustness in software

Aspects of effectiveness and robustness in software

  Take a demand-paging system

Consider a demand-paging system with the following time-measured utilizations.

  What would be well suited for a neural network

Research the features of Cisco Meeting Place and evaluate them to Microsoft's offerings. What hardware is required to implement Cisco's product.

  Design the created cell.

design a 2x2 cell array A with the following elements: 4x4 identity matrix; the string 'London is the largest city in world', the complex number (3+i*10); the array of N=20 numbers (of type single) representing the geometric progression with the b..

  Find out for a well-known company

Review the code of ethics that you find for a well-known company. Based on research, analyze it to determine whether or not the company is complying with it.

  Implementing the code

Write down a program which utilizes a structure named MovieData in order to store the following information about the movieInvolve a constructor which allows all four of these member data values to be specified at the time a MovieData variable is g..

  Define why it is suggested that for security reasons

Since many commercial APs have the SSID broadcast option enabled by default, so clients may easily detect the presence of an AP. APs are also configured as DHCPs and Firewalls.

  Intrusion detection system or intrusion prevention system

Your company is deciding whether to employ the intrusion detection system (IDS), or an intrusion prevention system (IPS).

  When does pipelining not offer any benefit

How does branch prediction, forwarding, and stalls help make a computer faster.

  Program on strings s1 and s2

Program on strings s1 and s2.

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