Hi, i am creating a struct program. i have my code with me but the only problem is the date and name won't show up and won't position itself properly. I don;t know where the problem is, please point it out and guide me thanks!
One of the errors is the use of both k and i as subscripts at line 89 onward.
You can get the compiler to help you detect this problem by removing the declaration of int i; at line 41, and then change line 43 like this: for (int i=0; i<1; i++)
Now at line 89, variable i doesn't exist, and the compiler will tell you so, if you accidentally attempt to use it. Though in keeping with the overall structure, there should probably be an inner for loop nested within the loop where the report is generated.