Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

My issue is, after finding the solution for this particular project, here on che

ID: 3720579 • Letter: M

Question

My issue is, after finding the solution for this particular project, here on chegg, the errors still reside on the right side of the screen. It's as if the project isn't being done to spec.

C ? Not secure ng.cençaoecom static/nbuinde nbid:745565&nbNodold;:262016807 deploy mentlda 57453219290252349154357813718 eISEN:978 337274609. parentide2a20169ce tr MINDTAP James Girard- (3) Using a for Loop in C++4 +NewMulipy.cpp Back Using a for Loop PInCLUCO EStrings ustng nonespace std 16 Summary 11 int mainc) Test Results 13 In this lah the campleted program should print the numbers 0 thraugh 10, along with their values multiplied by 2 and by 10. You should accomplish this using a for loop instead of a counter-cont olled whle loop. 0 4 passed 14 arier:" string head?-"Multiplted hy 2- string head3-"Nultiplted by 1. . Code Pattern AZ Hunbers through 18 17 nt nunberCounter 18 nt byTe 9 nt by FAILED: Useda for laap / Stores the nunber multiplied by 18 Stores tho nunber multiplted hy 2 const int MN LOOPS-1 I Constant used to control Loop Instructions Test Case 1. Write a for loop that uses the loop contrel variable to 21 22 IThis is the work done in the housekeeping) function 23 cout « through 1?? nulttplted by 2 and by 18.. endt FAILED: Test for output when multiplying by FAILED: Test far output when multiplying by 4 FAILED: Test for output when multiplying by 7 take on the values 0 through 10. 2. In the hady of the loop, multiply the value of the laop toniral variable by 2 arid by 10 3. Execute the program by clicking the Run Code" button at the hattom of the screen. Is the output the same? 76 IHrite your for loap here 28 Grading 19 C When you have completed your program, click the Grade" button to rerard your scare 2 byTonunberCounter 2; 35 byTen-nunberCounter 18 36 39 Ths s Uhe uor k done un the endol Job() func tcon system( "pausa"): 41 31 NEnd of matn Run Code Test Grade

Explanation / Answer

Hey don't worry about that......your code is 100% right .......i think there may be falut in complier i think....just run it any online cpp compiler it is working fine.....so there is a fault in the complier that your using....

So do this steps and run again.....

Intilize the number counter in for loop itself

Remove const int NUM_LOOPS and static10 in the loop itself.....if you made these two changes there may be a chance to workout the problem....otherwise it is a compiler issue only...

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at drjack9650@gmail.com
Chat Now And Get Quote