Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: GimmeCode Homework
There is a company which have started selling the ipods ONLINE . But they want to sell these ipods online at best price.
i) They have ipod Inventories at Brazil and Argentina. Each of the inventory can store only 100 ipods.
ii) ipods at Brazil are sold at 100$/unit and at Argentina they are sold at 50$/unit.
iii) after every order the stock at both brazil and argentina inventories are again back to 100 units.
iv) the no of ipods ordered should be only in multiple of 10.(i.e no of ipods ordered shouldnt be im number like 123 etc. )
v) the order placed should be either fullfilled completely or nothing
vi) if the order is placed like 120 ipods from brazil then the remaining ipods can be brought from the other inventory i.e.argentina.
but here shipping price of 400$ per 10 units is applied.
Posted 5-Aug-12 20:35pm
Edited 5-Aug-12 20:38pm
v2
Comments
Sergey Alexandrovich Kryukov at 6-Aug-12 1:37am
   
This is a forum where experts answer questions and give advice, not a site where someone does your work for you. Especially such a boring stuff.
--SA

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

'Please help in coding' is a useless subject line. However, what you did was paste your homework. 'Please help' is only valid if you try to do it yourself.
 
Assume your teacher is not stupid and is googling his question. I assume Jiya Roy is your real name, and I therefore suggest you talk to your teacher via email RIGHT NOW so that he knows you admitted to cheating, instead of just finding out that you tried to cheat, and fails you outright. Your teacher is the one to talk to if you're doing a course and you're so clueless that you don't even know how to start this task.
  Permalink  
Comments
Jiya Roy at 6-Aug-12 1:53am
   
its not my homework!!nd have no teacher tell anything!!
Christian Graus at 6-Aug-12 1:55am
   
I don't believe you. Where did this task come from, if it's not homework ? It looks like a classic homework task to me. If I am wrong, fine. Either way, we can't 'help' you learn by giving you the answer, you need to try to do this yourself. What sort of response were you hoping for ?
Jiya Roy at 6-Aug-12 1:58am
   
basic idea to go about it!
Christian Graus at 6-Aug-12 2:03am
   
You should ask your teacher, but, try drawing flowcharts to work out the steps in the logic, then turn them in to code.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 240
1 Kamal Rocks 184
2 BillWoodruff 173
3 Sergey Alexandrovich Kryukov 170
4 PIEBALDconsult 160
0 OriginalGriff 5,695
1 DamithSL 4,506
2 Maciej Los 4,007
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,180


Advertise | Privacy | Mobile
Web04 | 2.8.141216.1 | Last Updated 6 Aug 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100