Write a program that displays the result of 1 + 2 + 3 + 4 + 5
Question:
Write a program that displays the result of
1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 50% (6 reviews)
Output 45 1 Program to calculate the sum of fi...View the full answer
Answered By
Utsab mitra
I have the expertise to deliver these subjects to college and higher-level students. The services would involve only solving assignments, homework help, and others.
I have experience in delivering these subjects for the last 6 years on a freelancing basis in different companies around the globe. I am CMA certified and CGMA UK. I have professional experience of 18 years in the industry involved in the manufacturing company and IT implementation experience of over 12 years.
I have delivered this help to students effortlessly, which is essential to give the students a good grade in their studies.
3.50+
2+ Reviews
10+ Question Solved
Related Book For
Introduction to Java Programming, Comprehensive Version
ISBN: 978-0133761313
10th Edition
Authors: Y. Daniel Liang
Question Posted:
Students also viewed these Computer science questions
-
(Approximate ?) ? can be computed using the following formula: Write a program that displays the result of 4 ? Use 1.0 instead of 1 in your program. T = 4 x 1 3 11 and 4 x (1 11 11 13
-
Write a program that displays the following table (note that 1 kilogram is 2.2 pounds): Kilograms Pounds 1 ....................................... 2.2 3 ...................................... 6.6 ......
-
Write a program that displays the following table (note that 1 mile is 1.609 kilometers): Miles Kilometers 1 ....................................... 1.609 2 ..........................................
-
Differentiate implicitly to find 2x + 5xy + 5y +16y - 8 = 0; dy dx . Then find the slope of the curve at the given point. (-2,0)
-
In some cases, numerical investigations can be misleading. Plot f (x) = cos /x. (b) Show, by evaluating f (x) at x = 1/2 ,1/4 ,1/6 , . . . , that you might be able to trick your friends into...
-
Find the distance between each pair of points. Round your answer to the nearest tenth, if necessary. (4, -3), (-7,7)
-
On April 23, 2014, Calvin Loyer admitted his wife, Edeltrud Loyer, to a nursing home administered by Signature Healthcare. During the admissions process, Calvin signed an arbitration agreement...
-
The Jamis Corporation is involved with waste management. During the past 10 years it has become one of the largest waste disposal companies in the Midwest, serving primarily Wisconsin, Illinois, and...
-
Megan and Nancy each want save $250 000 for their retirement 40 years. a) Nancy begins her regular deposits immediately. How much must she deposit end 12% per year compounded annually achieve her...
-
If a certain kind of tire has a life exceeding 40,000 miles with probability 0.90, what is the probability that a set of these tires on a car will last longer than 40,000 miles?
-
Write a program that displays the area and perimeter of a circle that has a radius of 5.5 using the following formula: perimeter = 2 radius area = radius radius
-
Write a program that displays the result of 9.5 4.5 2.53 2.5 3 45.5 3.5
-
Refer to Exercise 7.9 on page 284. Population data: 1, 2, 3, 4, 5, 6. a. Use your answers from Exercise 7.9(b) to determine the mean, x-bar, of the variable x-bar for each of the possible sample...
-
Suppose we want to group the visitors to a website using just their age, a one-dimensional space as follows: 14, 15, 16, 19, 20, 44, 60, 61, 65 a) C1 = 19 and C2 = 60 b) C1 = 34 and C2 = 54 Use the...
-
Let f (x)=x+4 and h(x) = 4x - 1. Find a function g so that g of = h.
-
1. Write a C++ program to create a 3-by-3 array of float of 3.1, 6.2, 9.3, 12.4, 15.5, 18.6, 21.7, 24.8, and 27.9. Display the array on the screen. Then add 7 to each element and display the new set...
-
Lockheed Martin won a contract to build and launch a satellite for Vietnam Posts and Telecommunications Group at the cost of $500,000,000. Assume the satellite is to be depreciated over an 8-year...
-
What is the scheduled P&I payment for the first year of a one-year ARM with an initial principal balance of $175,000, an initial maturity of 30 years, the one-year LIBOR rate as its index (currently...
-
Condensed financial data follow for Galenti, Inc. Galenti is a private company reporting under ASPE. Additional information: 1. Trading investments were sold for $15,000, resulting in a loss of...
-
Nate prepares slides for his microscope. In 1 day he prepared 12 different slides. Which equation best represents y, the total number of slides Nate prepares in x days if he continues at this rate? A...
-
Rewrite Programming Exercise 5.39 as follows: Use a for loop instead of a do-while loop. Let the user enter COMMISSION_SOUGHT instead of fixing it as a constant.
-
A short value is stored in 16 bits. Write a program that prompts the user to enter a short integer and displays the 16 bits for the integer. Here are sample runs: Enter an integer: 5 The bits are...
-
Write a program that prompts the user to enter a string and displays the string in reverse order. Enter a string: ABCD The reversed string is DCBA
-
Before you begin your website, go online and research what you consider best practices in web design. Find websites for three businesses similar to yours. Analyze them by considering the following:...
-
Assume that part of accounts and other receivables on Thompson Toys' February 2 , 2 0 1 0 , balance sheet is comprised of $ 4 3 , 2 2 5 , 0 0 0 of notes receivable. Two notes make up the amount. The...
-
The Dairy Division of Famous Foods, Inc. produces and sells milk to outside customers. The operation has the capacity to produce 200,000 gallons of milk a year. Last year's operating results were as...
Study smarter with the SolutionInn App