#C++ Grade Computation Program (pls help me)

13 messages · Page 1 of 1 (latest)

calm crystal
opal flicker
#

debug the code

#

a very rudimentary method is to add a bunch of print statements that tell you what the values of the variables are, so you can try to pinpoint where the error is

#

it is too difficult for me personally to read the problem as it is sideways

calm crystal
#

heres the pic

calm crystal
# calm crystal

i got stuck at the end part where it only print out the last input of the user

pure imp
#

What error are you having?

#

Have you tried to debug it with your IDE's debugger?

calm crystal
#

the error is at the last part, where it only prints out the last input

calm crystal
pure imp
#

Can you be more specific?

#

Is it an actual error or is your output not what you expected?

calm crystal
#

there is an error in my code at the last part where it only print out the last input of the user.. how can i make it print out every input