well,i'm working on this program that has been asked many times.
"The magic squares". here what i got so far. I can compile it with no errors, but with no output. I think i'm not passing the arrays...
Type: Posts; User: sal817
well,i'm working on this program that has been asked many times.
"The magic squares". here what i got so far. I can compile it with no errors, but with no output. I think i'm not passing the arrays...
I'am just starting with programming a code with structure. I need some input on the bottom four lines of codes., why wouldn't it read in the values. Seems to work fine, up to that point.
...
Salem, didn't mean any harm,i'm just playing around with it, so that i may understand it. here is your code you post. For example the last digit, if a char X was entered, then it mulitplies it with...
hey, thanks to all for your help, I'm almost home to finish it. I had to change some of it to understand it myself. I'm still having probably changing the character X to the number 10. Code sums to...
i guess i'm not tell the truth for code, this is what i like to do
take an isbn number with last digit is an X
0 1 3 2 8 8 3 6 6 X,
if i do have a char X ,then X =10
then do this...
I've played with it and still not getting the right sum. Ok, how do i know when it's multiply by the numbers 1-10 in string array, then i'm confused after mulitpy out, then sum them. I know it's...
i try replacing with it with an uppeercase X(no good), what i would like to do is how this website explains corrrect ISBN by using mod 11
http://www.ee.unb.ca/tervo/ee4253/isbn.html
if iI...
hey ,guys,i'm stuck trying to validate a ISBN number(w/o hyphens). I want it to check the last digit for a X and update the sum. But i keep getting the wrong sum. What's wrong in my code?
...
Ronin,
Is what i want to do, to
1.get the number of books in stock for each category
2. go through category(1) and get the avg price
3.go through category(1) and get sell percentage
so that...
ok i work on list last night, and still having problems, How do i get from menu to the function(error--category does not return a function) I want to be able to store the option, and go through menu,...
i think i'm going the wrong way about doing this. Ok i want to ask the user to select option, store data in array, and ouput like this
Autombiles Amount is 200
Cookbooks Amount is 500...
can't use pointer either,only array if else+while+for
I haven't learned the switch case yet, so not allowed to use in program
here is what i came up with, i can select menu, go to that option,back to menu, do something different, but can't get it to print out my array after all input has been stored. Any suggestions?
...
ok, i know that store data in arrays. for example int grades[5], but let's say i don't want to input all five yet, first input (90), then go back to menu, choose a subject(Science), and input (91),...
Thanks sand_man,
I'll try to come up with code and repost. One more question, how do i prompt the user to select a categorey of 10 and then go to the array to store info and after info is store...
hey guys,
i'm a newbie and need some assistance to begin my assignment.
Well i need to prompt the user with a category(i.e. cd's) and ask
three questions "What is the amount in stock, the average...