Problem with queues with a parking garage Programming Software Development by DangleSauce19 …great. Thank you. ____________________________________________ The BASHEMUP Parking Garage contains a single lane that holds up …;< " has been parked in the BASHEMUP parking garage. " << endl; } else if(!(knock…lt;< " has been parked in the KNOCKEMDEAD parking garage. " << endl; } else if (!(… Re: Where is Garage Band? Hardware and Software macOS by theboogieman007 …already loaded. All the ilife suite is there except for Garage Band. Since getting the machine, I've updated the OS…came with the computer. Stranger: After about 2 weeks Suddenlly Garage band RETURNED? From where I have no idea. I … recently Cleaned my computer again, and same as before, Garage Band AND the basic writing program is gone! What the… parking garage charges Programming Software Development by king13 … minimum fee to park for up to three hours. The garage charges an additional $.50 per hour for each hour [I… each of 3 customers who parked their cars in this garage yesterday. You should enter the hours parked for each customer… c program a parking garage Programming Software Development by fredmac … minimum fee to park for up to three hours. The garage charges an additional $.50 per hour for each hour or… each of 3 customers who parked their cars in this garage yesterday. You should enter the hours parked for each customer… Parking Garage Calculation difficulty - C Programming Software Development by mpassaglia … I'm having. This is the assignment: [QUOTE]A parking garage charges a $2.00 minimum fee to park for up… to three hours. The garage charges and additional $0.50 per hour for each hour… each of three customers who parked their cars in the garage yesterday . You should enter the hours parked for each customer… parking garage Programming Software Development by Surabhi_1 ….00 minimum fee to park up to two hours. The garage charges an additional $1.00 per hour for each hour… Re: Where is Garage Band? Hardware and Software macOS by theboogieman007 I had the Garage band program all the time. It's a 2 step … you to put in disk two! Bingo! Garage Band. Disk number two has Garage Band. But the number one disk MUST ask… Where is Garage Band? Hardware and Software macOS by Cuppa500 …) already loaded. All the ilife suite is there except for Garage Band. Since getting the machine, I've updated the OS… reluctant to try reloading from the discs to see if Garage Band is on the discs. Is this program normally part… C++ Parking garage, please help! Programming Software Development by Heioingi … parking fee for a car for one day. The parking garage changes a $2.00 minimum fee for up to 3… hours. The garage charges an additional $0.50 per hour for each hour… Re: Where is Garage Band? Hardware and Software macOS by kc0arf Hello, I am not sure where Garage Band is. I have the Panther 10.3 disks, and it did not come with it. I am wondering if it is an added piece of software. As I have an older computer without the horsepower to explore these new technologies, I am out of the loop on GB and ipods. Christian ERD diagram for a Garage Sales and Repair cars Programming Databases by HB25 Hi I am designing a database for a local garage which sales and repair cars, I have come up with attached ERD diagram could anyone give me any advice on it and let me know if there is something wrong with it. Thanks for your help. Kind Regards HB 25 Re: ERD diagram for a Garage Sales and Repair cars Programming Databases by kronass … some times the car will come more often to the garage so the relation between booking and car would be one… Parking garage with five functions Programming Software Development by Tommy Mayor A parking garage program with five functions..can someone give me a way? Re: Maintenance Car parking garage 2012 Programming Software Development by akashi … 60."; } //get the hour vehicle exits garage. cout <<"\nHour vehicle exits garage? "; cin >> *hourOut; //validate… 20."; } //get the minute vehicle exits garage. cout << "\nMinute vehicle exits garage?"; cin >> *minOut; //validate… Garage Band and real instruments Hardware and Software macOS by Bushwack Hi all, My son has a eMac 700mhz G4 and a Yamaha PSR 293 keyboard, I am trying to get him a little studio set up in his room but I can't get the keyboard to work. Please HELP before I toss them both out the window :mrgreen: Robert Re: Garage Band and real instruments Hardware and Software macOS by gortonsfi Hi, welcome to the forum. I don't personally have experience with setting up a sound studio, but more details will be needed. To start with, what operating system version are you using? What have you done so far to set the system up? Generally, the more details you provide the more accurate a response you'll get. Best of Luck! Jeff Re: parking garage charges Programming Software Development by WolfPack Okay. Post the code that calculates the fee for one customer. Then we will help you on the repetition part. Re: parking garage charges Programming Software Development by king13 double calculateCharge ( double x ) { double charge; if (x <= 3) charge = 2; else if (x >19) charge = 10; else if (x > 3) charge = 2 + (x - 3) * (.5);… Re: parking garage charges Programming Software Development by WolfPack Okay that is the function calculateCharge but that was not what I asked for.I want you to write a program that gets the number of hours parked for one customer as user input and print out the fee calculated by using calculateCharge. After that it is a simple modification to convert it for 3 customers. Re: parking garage charges Programming Software Development by king13 Sorry if this is ugly, I haven't had time to clean it up yet, I just got it working. Please note, I'm new at this, so be gentle. :) [code=c] #include <iostream> using std::cout; using std::cin; using std::endl; using std::ios; using std::fixed; #include <iomanip> using std::setw; using std::setiosflags; using std::setprecision; #… Re: parking garage charges Programming Software Development by ~s.o.s~ Hmmm how about something like: [code=c] int hours = 0 ; for( int i = 0; i < 3; ++i ) { cout << "Enter the hours parked: " ; cin >> hours ; // call your function and display the output in the format you want. // do whatever processing you want to do. } // end the for loop[/code] Re: parking garage charges Programming Software Development by WolfPack Good effort. There were some parts where you could clear things up a little. So I will keep my end of the promise and here is a working program. You may also want to read up a little more about [search]for, while and do while in C and C++[/search] [code=c] #include <iostream> using std::cout; using std::cin; using std::endl; using std::ios;… Re: parking garage charges Programming Software Development by king13 Thanks for your input. I'll work on it tonight, I can't wait! Thanks !!! Re: parking garage charges Programming Software Development by king13 The code workes great, thank you! I do have one more question. I need to calculate the total hours and charges. Would the best way to do this is to have another formula at the bottom like CalculateCharges or do a cout with the num+num+num? TOTAL 23hrs $10.00 Here's my code: #include <iostream> using std::… Re: parking garage charges Programming Software Development by WolfPack [quote=king13;269455] I need to calculate the total hours and charges. Would the best way to do this is to have another formula at the bottom like CalculateCharges or do a cout with the num+num+num? [/quote] Create a variable called total_hours just after count. Inside the loop add num to it. After exiting the while loop cout the value of … Re: parking garage charges Programming Software Development by king13 Does my for loop look correct? Also, would I do the same with the total_hours as you describe above if I'm not using the While? I'm sorry, these must be dumb questions, but I'm really new at this and just trying to understand how this is working. thanks [code=c] #include <iostream> using std::cout; using std::cin; using std::endl; … Re: parking garage charges Programming Software Development by ~s.o.s~ THe sum of all hours or the total hours would be the sum of the individual hours which you accept from the user in th for loop. SO the logical thing would be to add to the total hours, the value of hours entered by the user. Something like: [code=c] int total_hours = 0 ; int total_charge = 0 ; for( int i = 0; i < 3; ++i ) { // accept input … Re: parking garage charges Programming Software Development by king13 [COLOR=navy]Has anyone ever referred to you as “MASTER”??? This has helped me out immensely. Thank you for helping us newbie’s out. [/COLOR] Re: c program a parking garage Programming Software Development by jephthah what kind of outfit do you think this is? do you see a PayPal button somewhere that I missed? . Re: c program a parking garage Programming Software Development by jephthah okay. on second thought... i'll help you: (1) start with a main( ) function. (2) #include some headers (3) make heavy use of the "printf" function (4) format modifiers. have some. they begin with "%" (5) check out "fgets" (6) '+' and '*' operators do math stuff. there are others, but don't worry about …