Program to find the sum & average of the given numbers

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

1) Write a program to find the sum & average of the given numbers using the while loop.

2) Write a program in C to find the sum and average of the given numbers stored in an array of n values.

Reference no: EM131202945

Questions Cloud

Apply critical thought by analyzing the primary source : Apply critical thought by analyzing the primary source you selected from the approved List of Literary Works. Avoid summary and personal reflection - Develop body paragraphs that contain clear topic sentences and examples that support the argument.
The journal entry to record this transaction would include : A company factored $38,000 of its accounts receivable and was charged a 1% factoring fee. The journal entry to record this transaction would include a:
Common stockholders will receive dividend : A corporation has 10,000 shares of 6% $50 par value cumulative preferred stock and fifty thousand shares of $4 par value common stock outstanding last year no dividends were paid this year the board of directors decided to pay a dividend of $80,000 t..
Calculate the value of c to achieve this condition : It is desired to run the motor in the previous problem with a power factor of unity. To achieve this, a capacitor C is connected in parallel across the motor, which results in a circuit like that shown in Fig. 2.13. Calculate the value of C to ach..
Program to find the sum & average of the given numbers : Write a program to find the sum & average of the given numbers using the while loop.- Write a program in C to find the sum and average of the given numbers stored in an array of n values.
Create appropriate x- and y-axis labels : Create appropriate X- and Y-axis labels, a chart title, and data labels so that your chart data are appropriately identified (years, dollars, account territory, etc.)
Find the resistance r and inductance l of the motor : A motor is connected to a 120 V rms, 60 Hz line. The motor is rated at 2 kVA and operates with a power factor of 0.8.
What stereotypes are associated with middle age : Describe Erik Erikson's Generativity versus Stagnation stage. According to Erikson, how does personality change in middle age? What personal and cultural forces motivate generativity? Why does it increase and contribute vitally to favorable adjust..
Their respective voltages is : The ratio of resistances of a 100 W, 220 V lamp to that of a 100 W, 110 V lamp will be at their respective voltages is?

Reviews

Write a Review

 

C/C++ Programming Questions & Answers

  Create a new variable, and prompt the user

Input variables are often used to capture, store, and often perform operations within software execution. Collect input from the user, add an operation to this collected data, and output the results to the screen. Utilize the provided resources to as..

  Conditional statementsquestion 1 write a program that

conditional statementsquestion 1 write a program that computes the cost of a long distance call. the cost of the call

  Recognition of the problem by the hsbc

What problem did the HSBC face in this case? What people, technology, and the organization factors were responsible for problem? Did HSBC management correctly recognize the problem?

  Structure of binary trees to make a family tree

Create a program that uses the structure of binary trees to make a family tree of two generations.

  Ask the user to enter the desired character

Write a very simple c program which will Ask the user to enter the desired character- Repeat the asking part until the user types a desired letter. For each even number of attempts

  Modify the program in 6a so that, in addition to the cents

Modify the program in 6a so that, in addition to the cents, the user enters the denomination of the coin to which to convert the pennies, such as 5 for nickles or 25 for quarters.

  The program should support a ''new'' feature

Write a GUI program that represents a simple Notepad clone. The program should support a 'new' feature that clears the text buffer, a save feature that writes to a file using a PrintStream

  Lu decomposition with gauss elimination

The LU decomposition with Gauss elimination and what is the physical interpretation of the elements of ? Write C++ programs for steps 2, 3, and 4.

  Calculate the integer square root by calculating

Calculate the integer square root by calculating

  Class mail order

Set up one one-dimensional array for each field: product number (integer), unit price (double), and current inventory level (integer) in main memory to hold the above product information. There should be five rows (0 to 4) in each array, one for e..

  Describe the process replace a do...while loop with an equiv

Describe the process you would use to replace a do...while loop with an equivalent while loop. What problem occurs when you try to replace a while loop with an equivalent do...while loop? Suppose you have been told that you must remove a while loop a..

  Determine ip address of the computer that was compromised

You've been asked to review the PCAP file and determine the IP address of the computer that was compromised, in addition to all possibly malicious IP addresses to which the system connected after the infection.

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