when i was debugging my program, it ran but i had a problem. My program is supposed to find the total sales of a company through inputing the price and quantity and bought items. My problem is that what the program shows for my total sales. It gives me the answer -9255963134931783000000000000000000000000000. How can i fix this?


  • Let me check my crystal ball, it should show me your code.

  • Yeah, an example code following your question would help. We'd need to be able to see the syntax error to help you.

  • -9255963134931783000000000000000000000000000

    my guess would be that you're using an uninitialized variable and or under/overflow in the variable(s) that you've chosen.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!