At first, I thought this was because my code was spitting out 419419
when it multiplied 4.24.2
by 100100
. I fixed this issue, but I'm still getting the "\ expected output, but not..."
It's"\ expected output, but not..."
It's showing me some odd stuff on that error after the "but not""but not"
. It should say just "Give the customer %d coin(s).""Give the customer %d coin(s)."
The error is showing me:
"41\n1\n2\n3\n4\nGive...",
"1\n0\n0\n0\n1\nGive...",
"15\n0\n1\n2\n2\nGive...",
"160\n6\n7\n7\n7\nGive...",
"2300\n92\n92\n92\n92\nGive...", and
"420\n16\n18\n18\n18\nGive..."
It
"41\n1\n2\n3\n4\nGive...",
"1\n0\n0\n0\n1\nGive...",
"15\n0\n1\n2\n2\nGive...",
"160\n6\n7\n7\n7\nGive...",
"2300\n92\n92\n92\n92\nGive...", and
"420\n16\n18\n18\n18\nGive..."
It shows this for 0.410.41
, 0.010.01
, 0.150.15
, 1.61.6
, 2323
, 4.24.2
. It does end the phrase but has those weird bits of something at the beginning. It only gives this, though, when I run check50. By itself, the program runs perfectly and gives the right answer.
What might be causing this? Is it a general issue with check50 or is there probably actually something seriously wrong?
Thanks!