![]() |
|
|||||||
|
|
Thread Tools | Search this Thread | Rate Thread |
|
#1
|
|||
|
|||
Write a program to help manage an inventory of musical instrumentsHey Guys Please I Am All new In C++ and i need to pass this assignment
Write a program to help manage an inventory of musical instruments. When A delivery arrives, the user should be able to enter the following for each itme being unloaded from the truck: -- type of the instrument, assume piano --> Write a programme to help manage an inventory of musical instruments. When a delivery arrives the user should be able to enter the following for each item being unloaded from the truck: type of the instrument, assume: piano à 1, guitar à 2, drum set à 3 saxophone à 4 class of the instrument, assume: top à “A”, average à “B”, below average à “C” price of the instrument which differs depending on the brand, type, class etc. choose any. Once the user has finished entering data the programme should output a display similar to the following with the correct values (Be sure to use integer or double where needed): The total number of pianos is: The total number of guitars is: The total number of drum sets is: The total number of saxophones is: The total cost of all new inventories is: The total number of instruments is: The percentage of class “A” instruments is: The average cost per instrument is: How To Start?! and we should comment all the way though! |
|||
|
#2
|
|||
|
|||
Re: Help! I Dnt Know how To StartStart with this and add code:
CPP / C++ / C Code:
If you want help, you must first try doing something yourself and ask questions when you get stuck. We are not here to do your assignment for you. |
|
#3
|
|||
|
|||
Re: Help! I Dnt Know how To StartI just started c++ a few months ago,
but what I was told was to always sit down and think about how to write the program.. If you look at this as one HUGE chunk of work, it'll be intimidating, and I'm sure that's why you don't know where to start. I don't plan on talking you through the entire assignment, but here's a couple of starter tidbits. 1. What kinds of variables are you going to need? 2. How will I know when the user is done inputting numbers? 3. How am I going to calculate what needs to be calculated? |
|
#4
|
||||
|
||||
Re: Write a program to help manage an inventory of musical instrumentsQuote:
...so, how new to C++ are you? I mean, is this the first program you've ever had to write or do you have experience with the fundamentals of the language? Quote:
This is really a very funny "statement." I guess start with a comment?! You indicate that you need to pass this assignment...so you're out and about, working on your veterinary sciences degree and decided that a course in C++ would be a nice diversion? How about some context as to why you're in this predicament? Did this sneak up on you unexpectedly? MxB |
|
#5
|
|||
|
|||
Re: Write a program to help manage an inventory of musical instrumentsI mean im new to UNiversity and everythingg fine ill try my best just tht i wanted a way to start declaring the variables anw thnk u guys!
|
|
#6
|
|||
|
|||
Re: Write a program to help manage an inventory of musical instrumentsIf you really want to "try your best" you might start by spelling words correctly.
This is VERY important in programming AND in being taken seriosly by others, especially programmers, they're as bad as English Majors... What is your C++ programming level. Do you know anything about arrays? . . . structures? . . . classes? Have you got anything started yet , like an outline? How about starting with the list of questions you think you will need answered for each insturment. That might help you decide on what data structure(s) you will need to store the data in. Get something started and post it so the guys have something to start with. |
Recent GIDBlog
Accepted for Ph.D. program by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to find a mathematical formula for this recursion? | transgalactic | C Programming Language | 8 | 12-Oct-2008 08:43 |
| Sum of the even numbers between n1 and n2 | avg81 | C++ Forum | 11 | 02-Nov-2007 08:35 |
| Urgent ! Pls Help Me ! | mycashmoney | C Programming Language | 4 | 01-Jul-2006 23:49 |
| Looking for Reliable, Cheap ASP, ASP.NET MSSQL Hosting start from $4 | stevewatt88 | Web Hosting Advertisements & Offers | 1 | 31-Jul-2004 05:27 |
| Athlon system locking up on start up. Is it MoBo, Processor, PSU or what? | ebolaosu | Computer Hardware Forum | 8 | 26-Feb-2004 12:19 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The