Ok I am multiplying numbers that are entered into an array.
My array: isbn[20][20]
So say I only choose to input one number:
978-0-306-40615
multiply
isbn[0][0] by 1
i should get 9 but I get 57...
I don't get why.
Please help.
Multiplying Arraysodd output
Page 1 of 1
3 Replies - 357 Views - Last Post: 04 March 2010 - 12:31 PM
Replies To: Multiplying Arrays
#2
Re: Multiplying Arrays
Posted 04 March 2010 - 11:04 AM
What is the ASCII character which corresponds to the number 57?
#3
Re: Multiplying Arrays
Posted 04 March 2010 - 11:05 AM
Show the code please, that way we can solve your problem, not give you possible solutions.
EDIT: Damn, Jack, that's some good thinking.
EDIT: Damn, Jack, that's some good thinking.
This post has been edited by bodom658: 04 March 2010 - 11:05 AM
#4
Re: Multiplying Arrays
Posted 04 March 2010 - 12:31 PM
Jack was right. Thanks. I fixed it by subtracting '0' from the outputs.
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote






|