Question: ^^^^ my code on the left my error codes are on the bottom down below this will be the pdf screen shots can someone please


^^^^ my code on the left my error codes are on the bottom
down below this will be the pdf screen shots





can someone please tell me what the heck i am doing wrong? code in c++ please
SourceFile:Input:Output:Value:/1337/18/1ab18.(cCPPcppc++cccxxcp)UndercontrolofmainfunctionUndercontrolofmainfunction2 Let a sequence be defined as follows: a0=a, while ak+1 is computed by inverting the order of the decimal digits in ak+4. For example if a=4, the sequence generated is 4,8,21,52,65,96,1,5,9,31,53,75,97,101,501, Write a function generateSequence to determine which element of the sequence equals 1. Designate this element as k. The function should also print the terms of the generated sequence. In the above example, k=6. Include the reverseInt function from Lab 15. A sample main function for testing your functions is shown in Figure 1 and a sample execution sequence is shown in Figure 2. Another method for compiling and linking of your programs is to use a Makefile. An example Makefile is shown in Figure 3. To use the Makefile, add a target of lab18 to targets2srcfiles. That is, change line 38 in the Makefile from 38targets2srcfiles= to 38targets2srcfiles=1ab18 A sample execution sequence utilizing the make command and the accompanying Makefile is shown in Figure 4. To use the make command for future assignments, you will need to edit the Makefile by modifying lines 33,38 , and 43 . Notice that make automatically generates three commands: the first two commands compile (note the -c option) the source programs yielding a corresponding object code file for each source file, and the third command invokes the linkage editor to create the executable. Figure 1./usr/local/1337/src/lab18main.C (Part 1 of 2) Figure 2. Commands to Compile, Link, \& Run Lab 18 (Part 1 of 2) Figure 2. Commands to Compile, Link, \& Run Lab 18 (Part 2 of 2)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
