The intNums array is declared as follows: Dim intNums() As Integer = {10, 5, 7, 2}. Which
Question:
The intNums array is declared as follows: Dim intNums() As Integer = {10, 5, 7, 2}. Which of the following blocks of code correctly calculates the average value stored in the array? The intTotal, intSub, and dblAvg variables contain the number 0 before the loop is processed.
a. Do While intSub < 4
intNums(intSub) = intTotal + intTotal
intSub += 1
Loop
dblAvg = intTotal / intSub
b. Do While intSub < 4
intTotal += intNums(intSub)
intSub = intSub + 1
Loop
dblAvg = intTotal / intSub
c. Do While intSub < 4
intTotal += intNums(intSub)
intSub += 1
Loop
dblAvg = intTotal / intSub – 1
d. Do While intSub < 4
intTotal = intTotal + intNums(intSub)
intSub = intSub + 1
Loop
dblAvg = intTotal / (intSub – 1)
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 62% (8 reviews)
b Do While intSub ...View the full answer
Answered By
Ashington Waweru
I am a lecturer, research writer and also a qualified financial analyst and accountant. I am qualified and articulate in many disciplines including English, Accounting, Finance, Quantitative spreadsheet analysis, Economics, and Statistics. I am an expert with sixteen years of experience in online industry-related work. I have a master's in business administration and a bachelor’s degree in education, accounting, and economics options.
I am a writer and proofreading expert with sixteen years of experience in online writing, proofreading, and text editing. I have vast knowledge and experience in writing techniques and styles such as APA, ASA, MLA, Chicago, Turabian, IEEE, and many others.
I am also an online blogger and research writer with sixteen years of writing and proofreading articles and reports. I have written many scripts and articles for blogs, and I also specialize in search engine
I have sixteen years of experience in Excel data entry, Excel data analysis, R-studio quantitative analysis, SPSS quantitative analysis, research writing, and proofreading articles and reports. I will deliver the highest quality online and offline Excel, R, SPSS, and other spreadsheet solutions within your operational deadlines. I have also compiled many original Excel quantitative and text spreadsheets which solve client’s problems in my research writing career.
I have extensive enterprise resource planning accounting, financial modeling, financial reporting, and company analysis: customer relationship management, enterprise resource planning, financial accounting projects, and corporate finance.
I am articulate in psychology, engineering, nursing, counseling, project management, accounting, finance, quantitative spreadsheet analysis, statistical and economic analysis, among many other industry fields and academic disciplines. I work to solve problems and provide accurate and credible solutions and research reports in all industries in the global economy.
I have taught and conducted masters and Ph.D. thesis research for specialists in Quantitative finance, Financial Accounting, Actuarial science, Macroeconomics, Microeconomics, Risk Management, Managerial Economics, Engineering Economics, Financial economics, Taxation and many other disciplines including water engineering, psychology, e-commerce, mechanical engineering, leadership and many others.
I have developed many courses on online websites like Teachable and Thinkific. I also developed an accounting reporting automation software project for Utafiti sacco located at ILRI Uthiru Kenya when I was working there in year 2001.
I am a mature, self-motivated worker who delivers high-quality, on-time reports which solve client’s problems accurately.
I have written many academic and professional industry research papers and tutored many clients from college to university undergraduate, master's and Ph.D. students, and corporate professionals. I anticipate your hiring me.
I know I will deliver the highest quality work you will find anywhere to award me your project work. Please note that I am looking for a long-term work relationship with you. I look forward to you delivering the best service to you.
3.00+
2+ Reviews
10+ Question Solved
Related Book For
Question Posted:
Students also viewed these Computer science questions
-
Assume an array is declared as follows. Which of the following statements correctly assigns the value 100 to each of the array elements? int[] num = new int[4]; a. for(x = 0; x < 3; ++x) num[x] =...
-
The strItems array is declared as follows: Dim strItems(20) As String. The intSub variable keeps track of the array subscripts and is initialized to 0. Which of the following Do clauses will process...
-
The intsales array is declared as follows: dim intsales() as integer = {10000, 12000, 900, 500, 20000}. The statement intsales(2) + = 10 will _____________________. a. Replace the 900 amount with 10...
-
Determine the length of the hydrogen bonds between: TYR41H and GLU37O ALA39H and MET35O GLU38H and ILE34O THR36H and ARG32O ARG32H and TYR28O by using PyMOL And identify the residues located at...
-
A note to the financial statements of Highland Inc. at December 31, 2013, reads as follows: Because of the manufacturer's production problems for our Humdinger Limited line, our inventories were...
-
In Exercises 518, solve each system by the substitution method. 4x + 3y = 0 |2x - y = 0
-
What are the risk priorities of health care organizations?
-
A fluid of unknown density is used in two manometers-one sealed-end, the other across an orifice in a water pipeline. The readings shown here are obtained on a day when barometric pressure is 756mm...
-
Martinez Company's relevant range of production is 7,500 units to 12,500 units. When it produces and sells 10,000 units, its average costs per unit are as follows: Average Cost per Unit Direct...
-
Indico Ltd is a well established company which has operated in a sound but static market for many years where it has been the dominant supplier. Over the past three years it has diversified into...
-
The intSales array is declared as follows: Dim intSales() As Integer = {10000, 12000, 900, 500, 20000}. Which of the following loops will correctly multiply each element by 2? The intSub variable...
-
Open the CityState Solution.sln file contained in the VB2017\Chap08\CityState Solution folder. Open the Code Editor window. Locate the btnDisplay_Click procedure. The procedure should declare and...
-
List the following compounds in order of decreasing acidity:
-
10 Estimate 1 + x dx using L4. Round your answer to five decimal places.
-
Let f(x) = + 1 Za[r] and let R = Za[r]/I, where I = (f(x)). (a) Show that R is a field with 9 elements. (b) Denote by 0 = 0+1, 1 = 1 + 1, and a :=z+I. Write the other 6 elements of R in terms of a...
-
Both AABC and AAPQ are equilateral, and P is the midpoint of BC. Prove that AC and PQ are perpendicular. B AABC is right-angled at B, point D A is the foot of the altitude from B to AC, and AB = AE....
-
(a) (b) Prove that log, 5 is irrational Suppose that a and b are real numbers where b# 0 Consider the polynomial P(z)=z + az + b The polynomial has a double root at z = a (i) Show that P'(z) is an...
-
$1500 is invested in an account that accrues 2% interest. How many years will it take for the account balance to reach $5000?
-
Suppose that a firm's production function is q = L + K. Can it be a competitive firm? Why?
-
What are the principal alloying elements in SAE 4340 steel?
-
Which of the following If clauses determines whether the chkTaxable control is selected? a. If chkTaxable = True Then b. If chkTaxable.Checked Then c. If chkTaxable.Selected Then d. If...
-
Create an empty Web Site application named Tea and save it in the VB2015\ Chap12 folder. Add a new Web page named Default.aspx to the application. Change the DOCUMENT objects Title property to...
-
An online form used to purchase a product is an example of a _____________________ Web page. a. Dynamic b. Static
-
The market price of a bushel of wheat prior to the price floor was $800. The minimum legal price is now $1,000. In the next growing season, farmers are able to sell 1 billion bushels but end up with...
-
Hi, what would be the account name for this? Provided gardening services to a new client Tony Fletcher and invoiced him $2,100. This invoice is due to be paid by the 25 th May 2023 and the reference...
-
Perform the indicated operations. Express your answer in reduced form. 9 2 (x-5)(x + 1) x-5
Study smarter with the SolutionInn App