Okay, so like many others i have an issue. I have written a pseudocode that is supposed to represent the issue below.
#1 Write pseudocode for a program that calculates the service charge a customer owees for writing a bad check. Okay, i got everything right except my teacher turned back to me saying that she wants to give me credit, but I am missing another "get" or this will end up in infinite loop. I am confused, I printed out output and put a stop. I am definitely missing something and have gotten 100% in class so far.
I will never post anything I haven't worked on, and just hope for a little extra push in the right direction from some individuals who know the answer. TIA
Here is my code
Start
Get input
currYY
curmm
curdd
chkYY
chkmm
chkdd
chkAmount
While not eof
chkAmount1 = 20 + chckAmount * .02
chkAmount2 = 12*(currYY – chkYY) + (curmm – chkmm) *5
chkAmount1 + chckAmount2 = chkFee
print calculatedAnswer chkFee
End While
Stop