1 answer

Homework c++ find the error/correction void Showval (int n) for (int i = 0; i<10;-) cout...

Question:

homework c++
void Showval (int n) for (int i = 0; i<10;-) cout <<n [i; )
find the error/correction
void Showval (int n) for (int i = 0; i<10;-) cout <<n [i; )

Answers

Answer: for (int i=0; i<10; i++)

Explanation:

for loop starts from 0 to i is less than 10, So there will be a increment.

i++ for increment.

.

Similar Solved Questions

1 answer
Answer question 4 based upon the following information: An American trader has to make a foreign...
Answer question 4 based upon the following information: An American trader has to make a foreign currency payment in six months on imported goods that have already been received. The most appropriate hedge against currency risk is provided by Q4. a. Selling foreign currency futures contracts. b. Buy...
1 answer
In a study of helicopter usage and patient​ survival, among the 52,656 patients transported by​ helicopter,...
In a study of helicopter usage and patient​ survival, among the 52,656 patients transported by​ helicopter, 179 of them left the treatment center against medical​ advice, and the other 52,477 did not leave against medical advice. If 60 of the subjects transported by helicopter are ...
1 answer
A whistle of frequency 556 Hz moves in a circle of radius 57.6 cm at an...
A whistle of frequency 556 Hz moves in a circle of radius 57.6 cm at an angular speed of 16.4 rad/s. What are (a) the lowest and (b) the highest frequencies heard by a listener a long distance away, at rest with respect to the center of the circle? (Take the speed of sound in air to be 343 m/s.)...
1 answer
QUESTION 2 Ho Consider two concentric spheres of radius r=a and r=b, a <b as shown...
QUESTION 2 Ho Consider two concentric spheres of radius r=a and r=b, a <b as shown in the figure. The temperature, u(r) in the region between the spheres is determined from the boundary value problem d'u+2 du =0, u(a) = , uſb)=u where u, and u, are constants. Show that ur="0" b-a...
1 answer
What are the products when lithium hydroxide reacts with sulfuric acid?
What are the products when lithium hydroxide reacts with sulfuric acid?...
1 answer
Roup a ctangle on the h comresponds to a for Keal green (triange for Sharon, and...
roup a ctangle on the h comresponds to a for Keal green (triange for Sharon, and a mbalk] far Van on tte paiatte an the isformatian on graph, yau Suspoce the purple idiamand mbol rVan (Nate: I n the isfomation is to $275, the a...
1 answer
Page 1 of 7 1. (15 points) Evaluate the following integrals. You must show your work...
Page 1 of 7 1. (15 points) Evaluate the following integrals. You must show your work clearly to get credit (6) / ( 362 2 + 1/3 - 312.6) de...
1 answer
Problem 3 (44 points) The following is Gold Co. year-end adjusted trial balance dated December 31,...
Problem 3 (44 points) The following is Gold Co. year-end adjusted trial balance dated December 31, 2018. Gold Co. Adjusted Trial Balance at 31 December 2018 to be thet ente Debit Credit Cash $ 53,802 nd Accounts receivable ildir 3,200 Office supplies 800 bui ons 2,700 Prepaid rent Office equipment A...
1 answer
How many comparisons would you expect to be performed by Quicksort if we are unlucky and...
How many comparisons would you expect to be performed by Quicksort if we are unlucky and we always pick the minimum or maximum element as the pivot. Consider the case when n10. You should draw a recursion tree and note how many comparisons are performed at each subproblem. (worth 4 points) 2....
1 answer
Determine the magnitude of the resultant force.(Figure 1) Express your answer with the appropriate units F_R...
Determine the magnitude of the resultant force.(Figure 1) Express your answer with the appropriate units F_R = m Determine the coordinate direction angles of the resultant force Express your answers using three significant figures separated by commas. alpha, beta, gamma =...
1 answer
How do you determine if # x / (x^2 + 5)# is an even or odd function?
How do you determine if # x / (x^2 + 5)# is an even or odd function?...
1 answer
Part A In the diet, the nondigestible parts of plants that form the support structures of...
Part A In the diet, the nondigestible parts of plants that form the support structures of leaves, stems, and seeds are known as dietary fiber starches total fiber functional fiber Request Answer Submit Provide Feedback...
1 answer
What is the dollar limit on annual elective deferrals in 2018 to a SEP plan? O...
What is the dollar limit on annual elective deferrals in 2018 to a SEP plan? O A. $17,500 O B. $18,000 O C. $19,000 D. $18,500...
1 answer
Exercise 15-15 Factory overhead computed, applied, and adjusted LO P3, P4 At the beginning of the...
Exercise 15-15 Factory overhead computed, applied, and adjusted LO P3, P4 At the beginning of the year, Custom Mfg. established its predetermined overhead rate by using the following cost predictions: overhead costs, $390,000, and direct materials costs, $300,000. At year-end, the company's reco...
1 answer
M(H) ② Draw the spectrum of below signals! (b) 29] (9) 9(+) 4 ID 5 ATS...
m(H) ② Draw the spectrum of below signals! (b) 29] (9) 9(+) 4 ID 5 ATS 24 6 8 10 12 6,5...
1 answer
Two pizzas with 8 inch and 16 inch diameters are each cut into 6 equal pieces....
Two pizzas with 8 inch and 16 inch diameters are each cut into 6 equal pieces. How does the area of each piece of the smaller pizza compare to the area of each piece of the larger pizza? [G-SRT.5] O 1/2 the size O 1/4 the size O 1/6 the size O 1/3 the size...
1 answer
Problem 3-34 (LO 3-3a, 3-3b, 3-7) Branson paid $585,200 cash for all of the outstanding common...
Problem 3-34 (LO 3-3a, 3-3b, 3-7) Branson paid $585,200 cash for all of the outstanding common stock of Wolfpack, Inc., on January 1, 2017. On that date, the subsidiary had a book value of $375,000 (common stock of $200,000 and retained earnings of $175,000), although various unrecorded royalty agre...
1 answer
4. Light, with 550 nm wavelength, is used to illuminate double slits which are separated of...
4. Light, with 550 nm wavelength, is used to illuminate double slits which are separated of 3.5 x 10-5 m. A screen is placed 1.25 m from the slits.    a. Find the angle of the first bright fringe.    b. Find the angle of the third bright fringe.       &nb...
1 answer
To find how many years it will take for $250.00 deposited at the end of each...
To find how many years it will take for $250.00 deposited at the end of each quarter to amount to $11,453.40 at 6% compounded quarterly, you can enter the following in the financial calculator and find the number of years: P/Y = = C/Y 1/4 = PV = Choose... PMT = FV = Choose... CPT N = Choose... which...