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...
-
A woman inherited $356,000. As she had no immediate need for the money at the time she inherited, she decided to invest some or all of it on January 1, 20In, with a goal of making the money grow to...
-
What the general requirements are for all pleadings?
-
Strudler Real Estate, Inc., a construction firm financed by both debt and equity, is undertaking a new project. If the project is successful, the value of the firm in one year will be $280 million,...
-
Can you please write a tourism business in Dubai? In developing a new business venture, the process begins with recognizing an opportunity from a business problem and creating a business concept that...
-
Rose-comb chickens mated with walnut-comb chickens produced 15 walnut-, 14 rose-, 5 pea-, and 6 single-comb chicks. Determine the genotypes of the parents.
-
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...
-
Test for convergence or divergence using the Root Test. a. b. c. (Inn 2(2) In 2 1
-
Control system is a study (a) To control the failure of a system (b) To control the operation of a function (c) To control the actual output to match with desired output (d) To control the input
-
Controller is defined as (a) A device that activates the plant (b) A device that activates the actuator (c) A device that controls the sensor (d) All of the above
-
Describe some of the reasons that people make art and give examples of symbolism and ritual in art.
-
Compare the ways that art expresses cultural themes using the examples of manga, anime, and cockfighting.
-
Analyze the roles that art can play in politics. Give examples of the use of art to promote political ends.
-
Two female employees of a 24-hour residential facility for abused and neglected children discovered video recording equipment hidden on a bookshelf in an office that they shared. They were able to...
-
The graph of an equation is given. (a) Find the intercepts. (b) Indicate whether the graph is symmetric with respect to the x-axis, the y-axis, or the origin. -3 6 -6 3 x
-
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 security is $50. Its expected rate of return is 10%. The risk-free rate is 5%, and the market risk premium is 8%. What will the market price of the security be if its beta...
-
At the end of 2025, Aramis Company has accounts receivable of $800,000 and an allowance for doubtful accounts of $40,000. On January 16, 2026, Aramis Company determined that its receivable from...
-
Your father is 50 years old and will retire in 10 years. He expects to live for 25 years after he retires, until he is 85. He wants a fixed retirement income that has the same purchasing power at the...
Study smarter with the SolutionInn App