Howdy, Stranger!

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

Categories

HELPPP!!!!

ComputerUserComputerUser PhilippinesMember Posts: 1

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?

Comments

  • B00B00 Member Posts: 101 ✭✭✭

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

  • ChengkoChengko Member Posts: 1

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

  • pseudocoderpseudocoder Member Posts: 701 ✭✭✭
    -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.