954,500 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

multiplying values that are stored in the array

hi all!

how do I multipluy values inside the array I have tied the following but the compiler is giving me a error

double a=(h[0]*b[1])+......

STUDENT#101
Newbie Poster
16 posts since Aug 2008
Reputation Points: 8
Solved Threads: 1
 

Please Post Your Code That you have worked on and then we can tell you whats wrong.

You say that you have tried, So you will need to show the effort that you have put in,

Sky Diploma
Practically a Posting Shark
865 posts since Mar 2008
Reputation Points: 673
Solved Threads: 131
 

Your information isnt enough, I guess. Though your question seems simple enough, this line depicts somthing else which i dont know :
> double a=(h[0]*b[1])+......

First of all, clear your question, or post some code.

bhoot_jb
Junior Poster in Training
89 posts since Mar 2008
Reputation Points: 57
Solved Threads: 2
 

More information would be nice but im kinda guessing it a mere spelling error should it be

double a=(h[0]*h[1])+......

Thats all i can guess from what you provided

Chris

Freaky_Chris
Master Poster
702 posts since Apr 2008
Reputation Points: 325
Solved Threads: 118
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You