#STUDENT RESPONSE ANI3-B
>>>Jerry>>>
Following is the program I wrote in an attempt to do the assignment.
I get an error message that reads "Printf – too many parameters, after I am
prompted for the first and last names. Jerry, I am really a beginner at this
–
HELP, please.
Hi. The problem is that printf() needs the format used which is
printf("<prompts and variable types>",<variables>);
We went over this… that %d stands for integers, %s is for strings, etc.
You have no "" here either. So, here's what you had:
printf(fname,bsize);
Qtext("Press to continue…");
unprintf();
And it should be:
printf("%s,%s",fname,bsize);
Qtext("Press to continue…");
unprintf();
The same goes for the other printf() statement. The quotes with %vars tell
POCO how the variables should be printed, regardless of their values, and
then the variables that follow fill those positions in the quotes.
<<<Jerry<<<