Using only the instructions shown in Figure 1-10, create an algorithm that displays the average of four
Question:
Using only the instructions shown in Figure 1-10, create an algorithm that displays the average of four numbers. Be sure to indent the instructions appropriately.
Transcribed Image Text:
calculate the average by dividing the sum by 4 calculate the sum by adding the number to the sum display the average end repeat enter a number repeat (4 times) Figure 1-10
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 60% (10 reviews)
1 repeat 4 times enter a number calcu...View the full answer
Answered By
Muhammad Ahtsham Shabbir
I am a professional freelance writer with more than 7 years’ experience in academic writing. I have a Bachelor`s Degree in Commerce and Master's Degree in Computer Science. I can provide my services in various subjects.
I have professional excellent skills in Microsoft ® Office packages such as Microsoft ® Word, Microsoft ® Excel, and Microsoft ® PowerPoint. Moreover, I have excellent research skills and outstanding analytical and critical thinking skills; a combination that I apply in every paper I handle.
I am conversant with the various citation styles, among them; APA, MLA, Chicago, Havard, and AMA. I also strive to deliver the best to my clients and in a timely manner.My work is always 100% original. I honestly understand the concern of plagiarism and its consequences. As such, I ensure that I check the assignment for any plagiarism before submission.
4.80+
392+ Reviews
587+ Question Solved
Related Book For
Microsoft Visual C# An Introduction to Object-Oriented Programming
ISBN: 978-1337102100
7th edition
Authors: Joyce Farrell
Question Posted:
Students also viewed these Computer science questions
-
Using only the instructions shown in Figure 1-12, write two versions of an algorithm that displays the total amount each customer owes for concert tickets. Be sure to indent the instructions...
-
Correct the C++ instructions shown in Figure 3-26. IPO chart information C++ instructions Input original price discount rate (10%) double original = 0.0; double DISC_RATE = 10%; %3D %3D Processing...
-
The algorithm shown in Figure 1-14 should calculate and print the gross pay for five workers; however, some of the instructions are missing from the algorithm. Complete the algorithm. If an employee...
-
Certain environmental laws prohibit EPA from considering the costs of meeting various standards when the levels of the standards are set. Is this a good example of putting first things first or...
-
Let us assume that you need a computer for your studies at university or college. In the process of buying a computer, how would you apply the decision-making algorithm/steps?
-
A bushel of turnips in Philadelphia in 1800 was $0.13. Today, a bushel of turnips cost $96.60. a. Assuming growth was constant per year, what was the year-to-year percentage increase in cost over...
-
Suppose that the recycle times of two cameras are recorded. The extension of the positive real line \(R\) is to take the sample space to be the positive quadrant of the plane \[ S=R^{+} \times R^{+}...
-
Q1. Use the information below for J.C. Penney and Intel to answer the following questions. a. Calculate the values for (A) and (X). Revenue for INTC is more than (__________ / 10 times) greater than...
-
Q7: In metric units, G = 6.67 x 10-11 m/kgs. Given that 1 AU = 1.496 x 1011 m, convert your G value to the units of m/kg.s2. It should be close to 6.67 x 10-11 m/kg.s2. Show all your work.
-
A pistoncylinder device with a set of stops initially contains 0.3 kg of steam at 1.0 MPa and 400°C. The location of the stops corresponds to 60 percent of the initial volume. Now the steam is...
-
Which control structure would an algorithm use to determine whether a customer is entitled to a senior discount? a. Repetition b. Selection c. Both repetition and selection
-
You have just purchased a new personal computer system. Before putting the system components together, you read the instruction booklet that came with the system. The booklet contains a list of the...
-
An athlete pushes against an exercise machine with a force that varies with time as shown in the first graph. Also, the velocity of the athletes arm acting in the same direction as the force varies...
-
The following trial balance of the Grampian Golf Club was extracted from the books as on 31 December 2016: (1) Bar purchases and sales were on a cash basis. Bar inventory at 31 December 2016 was...
-
What test tells us whether or not a moving object is in equilibrium?
-
Which depends on gravityweight or mass?
-
Which has the greater density1 kg of water or 10 kg of water?
-
When during a jump is your speed zero?
-
At December 31, 2017, Tres Hombres Corporation had the following shares outstanding: 10% cumulative preferred shares, 107,500 shares outstanding ........... $10,750,000 Common shares, 4,000,000...
-
List four items of financial information you consider to be important to a manager of a business that has been operating for a year.
-
Which of the following elements is not required in a variable declaration? a. A type b. An identifier c. An assigned value d. A semicolon
-
The assignment operator in Java is _____________. a. = b. == c. := d. ::
-
Assuming you have declared shoeSize to be a variable of type int, which of the following is a valid assignment statement in Java? a. shoeSize = 9; b. shoeSize = 9.5; c. shoeSize = nine; d. Two of the...
-
Describe the value chain analysis methods that a firm might utilize to identify strategies to enhance organizational capabilities.
-
Nurses are advocates for patients and must find a balance while delivering patient care. Discuss
-
The geriatric nurse cares for patients who are aging or suffering from conditions normally, Discuss?
Study smarter with the SolutionInn App