Christos
  • Christos
C++, http://pastebin.com/3iPjQ8pd Can anybody please tell me what this problem asks for ? I am really confused on what the program should actually do.
Computer Science
  • Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
SOLVED
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
jamiebookeater
  • jamiebookeater
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
hba
  • hba
Well it would ask the user for a number and then insert it in an array in retriceending order.Also the size should not excess max_size.
Christos
  • Christos
retriceending order ? what is this?
hba
  • hba
ascending order*

Looking for something else?

Not the answer you are looking for? Search for more explanations.

More answers

Christos
  • Christos
So let's say my input is 6. What would be the output ?
hba
  • hba
No you have to input in an array :/
Christos
  • Christos
Ok more precisely, can you tell me an input and the corresponding output ? that would do the trick I think
hba
  • hba
Okay wait I'll explain. You have in an array [2,4,5,6,7,8] so now you say 6 so it will find it and remove it :)
Christos
  • Christos
input(s)* output(s) *
hba
  • hba
Another case would be that it asked for 3 so it will find and if it doesn't get it in array then it will produce error message NUMBER DOES NOT EXIST
hba
  • hba
The first thing when you input array is the "I" Case. and when you go to D it goes in the delete case and "X" would exit program :)
hba
  • hba
So the Switch/Case is used here :)
Christos
  • Christos
ohh I see, thanks a lot for explain it to me !
hba
  • hba
No problem :) If you are not clear with basics please do not use OOL :)
Christos
  • Christos
Ok
hba
  • hba
Even if you wanna do OOPL do Java :) It is the best for now :)
Christos
  • Christos
Sorry to bother you, just one last thing, you say "Okay wait I'll explain. You have in an array [2,4,5,6,7,8] so now you say 6 so it will find it and remove it :)" This is "D" case right? But what do I do in "I" case? Say that the number I enter is 6. How will my array be ? 1 2 3 4 5 6 ? @hba
hba
  • hba
Well do you have the idea of Data structures?

Looking for something else?

Not the answer you are looking for? Search for more explanations.